Revert "Revert "made some tests green""

This commit is contained in:
Zahary Karadjov 2013-08-19 01:34:40 +03:00
commit c6d0611112
6 changed files with 95 additions and 89 deletions

View file

@ -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 and not isGenericRoutine(s)
s.owner == outerProc
#s.typ.callConv == ccClosure
proc addClosureParam(i: PInnerContext, e: PEnv) =