macro tests almost green
This commit is contained in:
parent
c30f6cfcf1
commit
99352c1e4c
11 changed files with 57 additions and 39 deletions
|
|
@ -972,6 +972,9 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
|
|||
else:
|
||||
s = n[namePos].sym
|
||||
typeIsDetermined = s.typ == nil
|
||||
s.ast = n
|
||||
s.scope = c.currentScope
|
||||
|
||||
# if typeIsDetermined: assert phase == stepCompileBody
|
||||
# else: assert phase == stepDetermineType
|
||||
# before compiling the proc body, set as current the scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue