diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-07-09 23:33:31 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-07-10 00:33:31 +0200 |
commit | f80501846137cd276536b1e489f4caa8acdcbd5d (patch) | |
tree | 3a4f5e0d1bc034fce2296fd0419d35a23ba2fb29 /lib/pure | |
parent | 5c5388c0a66c35319e2f360744ab0b9183ca5160 (diff) | |
download | Nim-f80501846137cd276536b1e489f4caa8acdcbd5d.tar.gz |
Fixes #5880. (#7229)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/includes/oserr.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/includes/oserr.nim b/lib/pure/includes/oserr.nim index bfb6118f2..eb350cbd4 100644 --- a/lib/pure/includes/oserr.nim +++ b/lib/pure/includes/oserr.nim @@ -66,7 +66,7 @@ proc raiseOSError*(errorCode: OSErrorCode; additionalInfo = "") {.noinline.} = raise e {.push stackTrace:off.} -proc osLastError*(): OSErrorCode = +proc osLastError*(): OSErrorCode {.sideEffect.} = ## Retrieves the last operating system error code. ## ## This procedure is useful in the event when an OS call fails. In that case |