Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Nov 5, 2024
1 parent 8b78954 commit fc03cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/sempass2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,7 @@ proc track(tracked: PEffects, n: PNode) =
track(tracked, last)
of nkCaseStmt: trackCase(tracked, n)
of nkWhen: # This should be a "when nimvm" node.
track(tracked, n[0][1])
track(tracked, n[1][0])
of nkIfStmt, nkIfExpr: trackIf(tracked, n)
of nkBlockStmt, nkBlockExpr: trackBlock(tracked, n[1])
Expand Down

0 comments on commit fc03cc4

Please sign in to comment.