summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-09 20:40:24 +0200
committerAraq <rumpf_a@web.de>2014-09-09 20:40:24 +0200
commit12796b6c86444e253c5ba8ae9ec05e26bc0b4285 (patch)
tree3c348b277e8d4a25fad587272d54fbe1683cd4ac
parent46cfff019fea904f119d21b0f9995da08269f359 (diff)
downloadNim-12796b6c86444e253c5ba8ae9ec05e26bc0b4285.tar.gz
nimfix cannot handle fileHandle vs FileHandle
-rw-r--r--lib/system.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 9153af16c..fe94ce95d 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2438,7 +2438,8 @@ when not defined(JS): #and not defined(NimrodVM):
       ## returns the OS file handle of the file ``f``. This is only useful for
       ## platform specific programming.
 
-    {.deprecated: [fileHandle: getFileHandle].}
+    when not defined(nimfix):
+      {.deprecated: [fileHandle: getFileHandle].}
 
     proc cstringArrayToSeq*(a: cstringArray, len: int): seq[string] =
       ## converts a ``cstringArray`` to a ``seq[string]``. `a` is supposed to be