Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ static int get_intersect_visitor(jl_typemap_entry_t *oldentry, struct typemap_in
struct matches_env *closure = container_of(closure0, struct matches_env, match);
assert(oldentry != closure->newentry && "entry already added");
assert(oldentry->min_world <= closure->newentry->min_world && "old method cannot be newer than new method");
assert(oldentry->max_world == ~(size_t)0 && "method cannot be added at the same time as method deleted");
assert(oldentry->max_world != closure->newentry->min_world && "method cannot be added at the same time as method deleted");
// don't need to consider other similar methods if this oldentry will always fully intersect with them and dominates all of them
typemap_slurp_search(oldentry, &closure->match);
jl_method_t *oldmethod = oldentry->func.method;
Expand Down