Skip to content

Commit

Permalink
tests: add a regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
zerbina committed Jan 5, 2025
1 parent 6446ee1 commit 2fec3b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/error_propagation/tin_expression_in_when.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
discard """
errormsg: "undeclared identifier: 'missing'"
"""

var x = missing
when x is int:
discard

0 comments on commit 2fec3b6

Please sign in to comment.