Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -2,7 +2,7 @@ import macros
|
|||
|
||||
from uri import `/`
|
||||
|
||||
macro test*(a: stmt): stmt {.immediate.} =
|
||||
macro test*(a: untyped): untyped =
|
||||
var nodes: tuple[a, b: int]
|
||||
nodes.a = 4
|
||||
nodes[1] = 45
|
||||
|
|
@ -20,4 +20,3 @@ macro test*(a: stmt): stmt {.immediate.} =
|
|||
|
||||
test:
|
||||
"hi"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue