summary refs log tree commit diff stats
path: root/lib/pure/includes
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-21 10:48:19 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-21 11:27:35 +0100
commit58187f212067beff458e76d7c819750a9cfa100c (patch)
tree80a4620e95eb63b261f30ed10ef503d0f9731ad2 /lib/pure/includes
parent0e67fc745010aea9cf2d4e64a44d71b7f37a63e5 (diff)
downloadNim-58187f212067beff458e76d7c819750a9cfa100c.tar.gz
added a warning that the .deprecate statement is unreliable for routines
Diffstat (limited to 'lib/pure/includes')
-rw-r--r--lib/pure/includes/oserr.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/pure/includes/oserr.nim b/lib/pure/includes/oserr.nim
index dbb709f1b..0889d7383 100644
--- a/lib/pure/includes/oserr.nim
+++ b/lib/pure/includes/oserr.nim
@@ -56,9 +56,6 @@ proc raiseOSError*(msg: string = "") {.noinline, rtl, extern: "nos$1",
     raise newException(OSError, msg)
 {.pop.}
 
-when not defined(nimfix):
-  {.deprecated: [osError: raiseOSError].}
-
 proc `==`*(err1, err2: OSErrorCode): bool {.borrow.}
 proc `$`*(err: OSErrorCode): string {.borrow.}