Skip to content

Commit 2fec3b6

Browse files
committed
tests: add a regression test
1 parent 6446ee1 commit 2fec3b6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
discard """
2+
errormsg: "undeclared identifier: 'missing'"
3+
"""
4+
5+
var x = missing
6+
when x is int:
7+
discard

0 commit comments

Comments
 (0)