implemented 'experimental' switch

This commit is contained in:
Araq 2014-12-05 10:09:29 +01:00
commit 4b7de4dc5e
12 changed files with 49 additions and 7 deletions

View file

@ -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)