Skip to content

Commit

Permalink
fix #11117: residual is_gf assert
Browse files Browse the repository at this point in the history
It's croaking [here](https://github.com/JuliaLang/julia/blob/79599ada444fcc63cb08aed64b4ff6a415bb4d29/src/interpreter.c#L260).
We backported 97381df (fix for #9773) which gives the nice error message,
but didn't remove the related assert, which was removed in 2604610.
  • Loading branch information
ihnorton committed May 6, 2015
1 parent f5e0074 commit f516813
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/interpreter.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ static jl_value_t *eval(jl_value_t *e, jl_value_t **locals, size_t nl)
}
gf = eval((jl_value_t*)fname, locals, nl);
assert(jl_is_function(gf));
assert(jl_is_gf(gf));
if (jl_is_expr(fname))
fname = (jl_sym_t*)jl_fieldref(jl_exprarg(fname, 2), 0);
if (!kw)
Expand Down

0 comments on commit f516813

Please sign in to comment.