diff options
author | Araq <rumpf_a@web.de> | 2014-08-12 10:11:58 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-12 10:11:58 +0200 |
commit | 4d863ebb5e0dfc2531837925199a5d9cd6cdaab8 (patch) | |
tree | 2dd8dcf6a73447b074a9c615ecd37ed81c8b7c1c /lib/system.nim | |
parent | d1300de5e6ebcca1ef0a6fb0655160c2694f9571 (diff) | |
download | Nim-4d863ebb5e0dfc2531837925199a5d9cd6cdaab8.tar.gz |
fix failed tests due to gcsafe
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 66eda5741..3dc7e308e 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2567,11 +2567,11 @@ when not defined(JS): #and not defined(NimrodVM): include "system/assign" include "system/repr" - proc getCurrentException*(): ref E_Base {.compilerRtl, inl.} = + proc getCurrentException*(): ref E_Base {.compilerRtl, inl, gcsafe.} = ## retrieves the current exception; if there is none, nil is returned. result = currException - proc getCurrentExceptionMsg*(): string {.inline.} = + proc getCurrentExceptionMsg*(): string {.inline, gcsafe.} = ## retrieves the error message that was attached to the current ## exception; if there is none, "" is returned. var e = getCurrentException() |