Skip to content

Commit

Permalink
Update util.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
willow-ahrens authored Dec 20, 2023
1 parent 33ddfff commit 7e3dcfa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/util/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -437,15 +437,6 @@ function (ctx::MarkDead)(ex, res)
delete!(ctx.refs, lhs)
rhs = ctx(rhs, res)
return Expr(f, lhs, rhs)
#elseif @capture ex :for(:(=)(~i, ~ext), ~body)
# body_2 = body
# while true
# ctx_2 = copy(ctx)
# body_2 = ctx(body, false)
# ctx == ctx_2 && break
# end
# ext = ctx(ext, iseffectful(body_2))
# return Expr(:for, Expr(:(=), i, ext), body_2)
elseif @capture ex :for(:(=)(~i, ~ext), ~body)
body_2 = body
while true
Expand Down

0 comments on commit 7e3dcfa

Please sign in to comment.