Skip to content

Commit 05ec5c2

Browse files
committed
Additional argument in new_opaque_closure
Fix segfaulting test. Thanks for the TODO
1 parent 5e4f571 commit 05ec5c2

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
@@ -278,8 +278,6 @@ function to_lowered_expr(mod, ex, ssa_offset=0)
278278
Core.NewvarNode(to_lowered_expr(mod, ex[1], ssa_offset))
279279
elseif k == K"new_opaque_closure"
280280
args = map(e->to_lowered_expr(mod, e, ssa_offset), children(ex))
281-
# TODO: put allow_partial back in once we update to the latest julia
282-
splice!(args, 4) # allow_partial
283281
Expr(:new_opaque_closure, args...)
284282
elseif k == K"meta"
285283
args = Any[to_lowered_expr(mod, e, ssa_offset) for e in children(ex)]

0 commit comments

Comments
 (0)