Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
oops
  • Loading branch information
ringabout committed Nov 5, 2024
commit fc03cc408f0f11cab0bc4e45baff459c20d4692d
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