assignments support ': stmtList' like let/var do
This commit is contained in:
parent
9aeccda262
commit
e21ca54b11
3 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue