on the path to get unittest running from JS

This commit is contained in:
Simon Hafner 2013-02-09 15:19:09 -06:00
commit 260ddd735a
2 changed files with 28 additions and 13 deletions

View file

@ -42,7 +42,7 @@ proc nimCharToStr(x: char): string {.compilerproc.} =
result = newString(1)
result[0] = x
proc getCurrentExceptionMsg(): string =
proc getCurrentExceptionMsg*(): string =
if excHandler != nil: return $excHandler.exc.msg
return ""