parent
e1b668c868
commit
c67abd7e61
6 changed files with 89 additions and 96 deletions
|
|
@ -220,7 +220,7 @@ proc getHiddenParam(routine: PSym): PSym =
|
|||
|
||||
proc isInnerProc(s, outerProc: PSym): bool {.inline.} =
|
||||
result = s.kind in {skProc, skMethod, skConverter} and
|
||||
s.owner == outerProc
|
||||
s.owner == outerProc and not isGenericRoutine(s)
|
||||
#s.typ.callConv == ccClosure
|
||||
|
||||
proc addClosureParam(i: PInnerContext, e: PEnv) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue