This commit is contained in:
hlaaftana 2021-11-24 09:08:07 +03:00 • committed by GitHub
commit 2859069dbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]