Remove expr/stmt (#5857)

This commit is contained in:
Arne Döring 2017-07-25 09:28:23 +02:00 • committed by Andreas Rumpf
commit 000b8afd26
168 changed files with 497 additions and 529 deletions

View file

@ -24,7 +24,7 @@ bb
const s = @[1,2,3]
macro foo: stmt =
macro foo: typed =
for e in s:
echo e
@ -34,7 +34,7 @@ static:
for e in s:
echo e
macro bar(x: static[seq[int]]): stmt =
macro bar(x: static[seq[int]]): untyped =
for e in x:
echo e
@ -55,7 +55,7 @@ static:
var m2: TData = data
for x in m2.numbers: echo x
macro ff(d: static[TData]): stmt =
macro ff(d: static[TData]): typed =
for x in d.letters:
echo x