diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-02-28 14:48:15 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-02-28 14:48:15 +0100 |
commit | 7ae45ea4202a71df134dbe0ca74c0b944dc1f48a (patch) | |
tree | b820191133f341b6e9358d0d318fbb08870d7d8b /compiler/semcall.nim | |
parent | 1afdefcbe930b042e5f81b30b960c67bed1e859b (diff) | |
download | Nim-7ae45ea4202a71df134dbe0ca74c0b944dc1f48a.tar.gz |
'using' statement is obsolete
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index 51cc8bfb0..2fb226404 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -143,11 +143,6 @@ proc notFoundError*(c: PContext, n: PNode, errors: CandidateErrors) = else: localError(n.info, errGenerated, result) -proc gatherUsedSyms(c: PContext, usedSyms: var seq[PNode]) = - for scope in walkScopes(c.currentScope): - if scope.usingSyms != nil: - for s in scope.usingSyms: usedSyms.safeAdd(s) - proc resolveOverloads(c: PContext, n, orig: PNode, filter: TSymKinds; errors: var CandidateErrors): TCandidate = |