fixes latest regression

This commit is contained in:
Araq 2014-07-11 08:05:50 +02:00
commit 49ad6fc3d4
3 changed files with 4 additions and 1 deletions

View file

@ -101,7 +101,7 @@ proc fuzzyLookup(c: PContext, n: PNode, flags: TSemGenericFlags,
let n = n[1] let n = n[1]
let ident = considerQuotedIdent(n) let ident = considerQuotedIdent(n)
var s = searchInScopes(c, ident) var s = searchInScopes(c, ident)
if s != nil: if s != nil and s.kind in routineKinds:
if withinBind in flags: if withinBind in flags:
result = newDot(result, symChoice(c, n, s, scClosed)) result = newDot(result, symChoice(c, n, s, scClosed))
elif s.name.id in ctx: elif s.name.id in ctx:

View file

@ -1,6 +1,7 @@
version 0.9.6 version 0.9.6
============= =============
- scopes are still broken for generic instantiation!
- integrate the new LL into the devel branch - integrate the new LL into the devel branch
- start experimental branch - start experimental branch

View file

@ -12,6 +12,8 @@ News
- ``spawn`` now uses an elaborate self-adapting thread pool and as such - ``spawn`` now uses an elaborate self-adapting thread pool and as such
has been moved into its own module. So to use it, you now have to import has been moved into its own module. So to use it, you now have to import
``threadpool``. ``threadpool``.
- The symbol binding rules in generics changed: ``bar`` in ``foo.bar`` is
now considered for implicit early binding.
Library Additions Library Additions