added a warning that the .deprecate statement is unreliable for routines

This commit is contained in:
Andreas Rumpf 2017-11-21 10:48:19 +01:00
commit 58187f2120
7 changed files with 5 additions and 15 deletions

View file

@ -3118,9 +3118,6 @@ when not defined(JS): #and not defined(nimscript):
## returns the OS file handle of the file ``f``. This is only useful for
## platform specific programming.
when not defined(nimfix):
{.deprecated: [fileHandle: getFileHandle].}
when declared(newSeq):
proc cstringArrayToSeq*(a: cstringArray, len: Natural): seq[string] =
## converts a ``cstringArray`` to a ``seq[string]``. `a` is supposed to be