implemented 'experimental' switch
This commit is contained in:
parent
e27ab36731
commit
4b7de4dc5e
12 changed files with 49 additions and 7 deletions
|
|
@ -133,9 +133,6 @@ proc commonType*(x, y: PType): PType =
|
|||
result = newType(k, r.owner)
|
||||
result.addSonSkipIntLit(r)
|
||||
|
||||
proc isTopLevel(c: PContext): bool {.inline.} =
|
||||
result = c.currentScope.depthLevel <= 2
|
||||
|
||||
proc newSymS(kind: TSymKind, n: PNode, c: PContext): PSym =
|
||||
result = newSym(kind, considerQuotedIdent(n), getCurrOwner(), n.info)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue