Skip to content

Commit ed91f96

Browse files
committed
Additional argument in new_opaque_closure
Fix segfaulting test. Thanks for the TODO
1 parent e1d3444 commit ed91f96

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

0 commit comments

Comments
 (0)