fixes regressions
This commit is contained in:
parent
bb8b1c3b57
commit
4d10937a30
3 changed files with 55 additions and 0 deletions
|
|
@ -186,6 +186,8 @@ proc newSymG*(kind: TSymKind, n: PNode, c: PContext): PSym =
|
|||
result.owner = getCurrOwner()
|
||||
else:
|
||||
result = newSym(kind, considerQuotedIdent(n), getCurrOwner(), n.info)
|
||||
#if kind in {skForVar} and result.owner.kind == skModule:
|
||||
# incl(result.flags, sfGlobal)
|
||||
|
||||
proc semIdentVis(c: PContext, kind: TSymKind, n: PNode,
|
||||
allowed: TSymFlags): PSym
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue