bugfix: forwarding of generic procs now works

This commit is contained in:
Araq 2011-07-30 10:42:51 +02:00
commit 6781da5215
8 changed files with 70 additions and 43 deletions

View file

@ -49,7 +49,7 @@ proc getSymRepr*(s: PSym): string =
proc CloseScope*(tab: var TSymTab) =
# check if all symbols have been used and defined:
if (tab.tos > len(tab.stack)): InternalError("CloseScope")
if tab.tos > len(tab.stack): InternalError("CloseScope")
var it: TTabIter
var s = InitTabIter(it, tab.stack[tab.tos-1])
while s != nil: