From 4b7de4dc5e628bf08ad6673652f1aa2df019525c Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 5 Dec 2014 10:09:29 +0100 Subject: implemented 'experimental' switch --- compiler/sem.nim | 3 --- 1 file changed, 3 deletions(-) (limited to 'compiler/sem.nim') diff --git a/compiler/sem.nim b/compiler/sem.nim index 5b31129a5..5160af20a 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -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) -- cgit 1.4.1-2-gfad0