diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-04-01 04:46:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 12:46:59 +0100 |
commit | fd202136b44271e6cd369eedc5496085e432fd03 (patch) | |
tree | b3255d8bf992031d5695eb6a7b7a605ee0ea3886 /lib | |
parent | 515b6d661e0def97cfe06303fd753b1443fef83e (diff) | |
download | Nim-fd202136b44271e6cd369eedc5496085e432fd03.tar.gz |
fix #13829 (#13831)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/io.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/io.nim b/lib/system/io.nim index 98d9347be..9a4502cba 100644 --- a/lib/system/io.nim +++ b/lib/system/io.nim @@ -735,7 +735,7 @@ proc readLines*(filename: string, n: Natural): seq[TaintedString] = else: sysFatal(IOError, "cannot open: " & filename) -proc readLines*(filename: string): seq[TaintedString] {.deprecated: "use readLines with two arguments".} = +template readLines*(filename: string): seq[TaintedString] {.deprecated: "use readLines with two arguments".} = readLines(filename, 1) iterator lines*(filename: string): TaintedString {.tags: [ReadIOEffect].} = |