(cherry picked from commit 2859069dbe)
This commit is contained in:
hlaaftana
2021-11-24 09:08:07 +03:00
committed by narimiran
parent 4728e9d433
commit c5df4ed62a
2 changed files with 10 additions and 1 deletions

9
tests/parser/t12274.nim Normal file
View File

@@ -0,0 +1,9 @@
var s: seq[int]
s.add block:
let i = 1
i
s.add try:
2
except:
3
doAssert s == @[1, 2]