diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-11-14 16:04:45 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-14 16:04:54 +0100 |
commit | 6e8ed8c6fa8ea43ad2cc2c44008ab7a76984030b (patch) | |
tree | cbf2c0066d0374e2359abdef6d1bfd874bad8982 /compiler/semcall.nim | |
parent | b65c0c336c993607020bc422fa804ea8b87fd5f2 (diff) | |
download | Nim-6e8ed8c6fa8ea43ad2cc2c44008ab7a76984030b.tar.gz |
added first version of a nimfind tool for the poor souls that don't have a good nimsuggest integretation
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index 214affb19..4e2a45209 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -454,7 +454,7 @@ proc semResolvedCall(c: PContext, x: TCandidate, assert x.state == csMatch var finalCallee = x.calleeSym markUsed(c.config, n.sons[0].info, finalCallee, c.graph.usageSym) - styleCheckUse(n.sons[0].info, finalCallee) + onUse(n.sons[0].info, finalCallee) assert finalCallee.ast != nil if x.hasFauxMatch: result = x.call @@ -562,7 +562,7 @@ proc explicitGenericSym(c: PContext, n: PNode, s: PSym): PNode = var newInst = generateInstance(c, s, m.bindings, n.info) newInst.typ.flags.excl tfUnresolved markUsed(c.config, n.info, s, c.graph.usageSym) - styleCheckUse(n.info, s) + onUse(n.info, s) result = newSymNode(newInst, n.info) proc explicitGenericInstantiation(c: PContext, n: PNode, s: PSym): PNode = |