diff options
-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].} = |