bugfix: stack traces; first class iterators almost working

This commit is contained in:
Araq 2012-11-15 01:27:25 +01:00
commit 814fcb2639
13 changed files with 186 additions and 51 deletions

View file

@ -69,7 +69,7 @@ proc mangleName(s: PSym): PRope =
if result == nil:
if gCmd == cmdCompileToLLVM:
case s.kind
of skProc, skMethod, skConverter, skConst:
of skProc, skMethod, skConverter, skConst, skIterator:
result = toRope("@")
of skVar, skForVar, skResult, skLet:
if sfGlobal in s.flags: result = toRope("@")