Skip to content

Commit 54d5cc3

Browse files
mlechuaviatesk
authored andcommitted
Additional argument in new_opaque_closure
Fix segfaulting test. Thanks for the TODO
1 parent 024ecdf commit 54d5cc3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/eval.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ function to_lowered_expr(mod, ex, ssa_offset=0)
279279
Core.NewvarNode(to_lowered_expr(mod, ex[1], ssa_offset))
280280
elseif k == K"new_opaque_closure"
281281
args = map(e->to_lowered_expr(mod, e, ssa_offset), children(ex))
282-
# TODO: put allow_partial back in once we update to the latest julia
283-
splice!(args, 4) # allow_partial
284282
Expr(:new_opaque_closure, args...)
285283
elseif k == K"meta"
286284
args = Any[to_lowered_expr(mod, e, ssa_offset) for e in children(ex)]

0 commit comments

Comments
 (0)