From fd202136b44271e6cd369eedc5496085e432fd03 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 1 Apr 2020 04:46:59 -0700 Subject: [PATCH] fix #13829 (#13831) --- lib/system/io.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/io.nim b/lib/system/io.nim index 98d9347bec5d9..9a4502cbab018 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].} =