Yield in try

This commit is contained in:
Yuriy Glukhov 2018-05-04 15:23:47 +03:00
commit ce63490928
6 changed files with 711 additions and 93 deletions

View file

@ -41,3 +41,6 @@ proc reraiseException() {.compilerRtl.} =
proc writeStackTrace() = discard
proc setControlCHook(hook: proc () {.noconv.}) = discard
proc closureIterSetupExc(e: ref Exception) {.compilerproc, inline.} =
sysFatal(ReraiseError, "exception handling is not available")