summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorpatrick dw <algorithicimperative@gmail.com>2015-06-19 18:50:01 -0500
committerpatrick dw <algorithicimperative@gmail.com>2015-06-19 18:50:01 -0500
commit1cdbd6b0a5865ba3ecb685c82338df1482aa118b (patch)
treee2270f27d17d8f3f73baab206562d0ca695b44d2 /lib/system.nim
parent2a0f7b5de72dc1d8c1018bb60630764f765376bb (diff)
downloadNim-1cdbd6b0a5865ba3ecb685c82338df1482aa118b.tar.gz
reworked deprecation to retain old procs
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 9ffc51e80..34531eb46 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2526,6 +2526,10 @@ when not defined(JS): #and not defined(NimrodVM):
       ## Returns ``false`` if the end of the file has been reached, ``true``
       ## otherwise. If ``false`` is returned `line` contains no new data.
 
+    proc writeLn*[Ty](f: File, x: varargs[Ty, `$`]) {.inline,
+                             tags: [WriteIOEffect], benign, deprecated.}
+      ## **Deprecated since version 0.11.4:** Use **writeLine** instead.
+
     proc writeLine*[Ty](f: File, x: varargs[Ty, `$`]) {.inline,
                              tags: [WriteIOEffect], benign.}
       ## writes the values `x` to `f` and then writes "\n".