bugfix: forwarding of generic procs now works
This commit is contained in:
parent
dce8949b9b
commit
6781da5215
8 changed files with 70 additions and 43 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue