Skip to content

Commit 7add085

Browse files
committed
Revert "Fix returned value for failed ml_matches."
This reverts commit 26d64c8.
1 parent eaa1e81 commit 7add085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3239,7 +3239,7 @@ static jl_value_t *ml_matches(jl_methtable_t *mt,
32393239
size_t *min_valid, size_t *max_valid, int *ambig)
32403240
{
32413241
if (world > jl_atomic_load_acquire(&jl_world_counter))
3242-
return (jl_value_t*)jl_an_empty_vec_any; // the future is not enumerable
3242+
return jl_nothing; // the future is not enumerable
32433243
int has_ambiguity = 0;
32443244
jl_value_t *unw = jl_unwrap_unionall((jl_value_t*)type);
32453245
assert(jl_is_datatype(unw));

0 commit comments

Comments
 (0)