Skip to content

Commit

Permalink
fix #13829 (#13831)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored Apr 1, 2020
1 parent 515b6d6 commit fd20213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system/io.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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].} =
Expand Down

0 comments on commit fd20213

Please sign in to comment.