Skip to content

Commit 141e66d

Browse files
committed
Additional argument in new_opaque_closure
Fix segfaulting test. Thanks for the TODO
1 parent 7b3ab31 commit 141e66d

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
@@ -288,8 +288,6 @@ function to_lowered_expr(mod, ex, ssa_offset=0)
288288
Core.NewvarNode(to_lowered_expr(mod, ex[1], ssa_offset))
289289
elseif k == K"new_opaque_closure"
290290
args = map(e->to_lowered_expr(mod, e, ssa_offset), children(ex))
291-
# TODO: put allow_partial back in once we update to the latest julia
292-
splice!(args, 4) # allow_partial
293291
Expr(:new_opaque_closure, args...)
294292
elseif k == K"meta"
295293
args = Any[to_lowered_expr(mod, e, ssa_offset) for e in children(ex)]

0 commit comments

Comments
 (0)