made more tests green; fixes #201
This commit is contained in:
parent
8178cd4fab
commit
a59abdf8e4
13 changed files with 43 additions and 30 deletions
|
|
@ -8,7 +8,7 @@ type
|
|||
TA = tuple[a: int]
|
||||
PA = ref TA
|
||||
|
||||
macro test*(a: stmt): stmt =
|
||||
macro test*(a: stmt): stmt {.immediate.} =
|
||||
var val: PA
|
||||
new(val)
|
||||
val.a = 4
|
||||
|
|
@ -16,7 +16,7 @@ macro test*(a: stmt): stmt =
|
|||
test:
|
||||
"hi"
|
||||
|
||||
macro test2*(a: stmt): stmt =
|
||||
macro test2*(a: stmt): stmt {.immediate.} =
|
||||
proc testproc(recurse: int) =
|
||||
echo "Thats weird"
|
||||
var o : PNimrodNode = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue