File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1483,7 +1483,7 @@ static int get_intersect_visitor(jl_typemap_entry_t *oldentry, struct typemap_in
1483
1483
struct matches_env * closure = container_of (closure0 , struct matches_env , match );
1484
1484
assert (oldentry != closure -> newentry && "entry already added" );
1485
1485
assert (oldentry -> min_world <= closure -> newentry -> min_world && "old method cannot be newer than new method" );
1486
- assert (oldentry -> max_world == ~( size_t ) 0 && "method cannot be added at the same time as method deleted" );
1486
+ assert (oldentry -> max_world != closure -> newentry -> min_world && "method cannot be added at the same time as method deleted" );
1487
1487
// don't need to consider other similar methods if this oldentry will always fully intersect with them and dominates all of them
1488
1488
typemap_slurp_search (oldentry , & closure -> match );
1489
1489
jl_method_t * oldmethod = oldentry -> func .method ;
You can’t perform that action at this time.
0 commit comments