Skip to content

Commit

Permalink
fix: single statement modules no longer assert
Browse files Browse the repository at this point in the history
Co-authored-by: zerbina <[email protected]>
  • Loading branch information
saem and zerbina authored Oct 20, 2023
1 parent fbdb232 commit 78f24f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/dust/pass.nim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ proc rewriter(context: PPassContext, n: PNode): PNode {.nosinks.} =
else:
# yield the next available permutation (once)
result = pop(remains)
assert result.kind == nkStmtList
c.ignore = true

const
Expand Down

0 comments on commit 78f24f8

Please sign in to comment.