diff options
author | Araq <rumpf_a@web.de> | 2014-07-11 08:05:50 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-11 08:05:50 +0200 |
commit | 49ad6fc3d46ce5af146196af6277dfd11599a849 (patch) | |
tree | df8eb0c2c34ef7ca491c34eced2a02c871ddad84 /compiler | |
parent | e4e32bdfbf72931c7e0e5692a30c3030490178e1 (diff) | |
download | Nim-49ad6fc3d46ce5af146196af6277dfd11599a849.tar.gz |
fixes latest regression
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semgnrc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index 1772b2546..934434951 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -101,7 +101,7 @@ proc fuzzyLookup(c: PContext, n: PNode, flags: TSemGenericFlags, let n = n[1] let ident = considerQuotedIdent(n) var s = searchInScopes(c, ident) - if s != nil: + if s != nil and s.kind in routineKinds: if withinBind in flags: result = newDot(result, symChoice(c, n, s, scClosed)) elif s.name.id in ctx: |