diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-04-04 12:20:43 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-04-04 12:20:43 +0200 |
commit | e21ca54b11409764e495530136376f1b8f309fcb (patch) | |
tree | d7408f3fe93b38a873245dedadf8825178e5d971 /tests/parser | |
parent | 9aeccda2629ae0828fbcd4fd8aa50b3abc7e95b3 (diff) | |
download | Nim-e21ca54b11409764e495530136376f1b8f309fcb.tar.gz |
assignments support ': stmtList' like let/var do
Diffstat (limited to 'tests/parser')
-rw-r--r-- | tests/parser/tletcolon.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parser/tletcolon.nim b/tests/parser/tletcolon.nim index ec7c24106..6b86535c8 100644 --- a/tests/parser/tletcolon.nim +++ b/tests/parser/tletcolon.nim @@ -18,7 +18,8 @@ template y(val, body): untyped = proc mana = let foo = x: echo "boo" - var foo2 = y 3: + var foo2: int + foo2 = y 3: echo "3" echo foo, " ", foo2 |