Small fix and cosmetics
This commit is contained in:
parent
fb965719a6
commit
0b5883c21e
2 changed files with 2 additions and 8 deletions
|
|
@ -881,9 +881,8 @@ proc liftForLoop*(body: PNode; owner: PSym): PNode =
|
|||
cl = createClosure()
|
||||
while true:
|
||||
let i = foo(cl)
|
||||
if cl.state < 0:
|
||||
if (nkBreakState(cl.state)):
|
||||
break
|
||||
# nkBreakState(cl.state)
|
||||
...
|
||||
"""
|
||||
if liftingHarmful(owner): return body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue