fixes latest regression
This commit is contained in:
parent
e4e32bdfbf
commit
49ad6fc3d4
3 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue