diff options
author | Araq <rumpf_a@web.de> | 2018-12-16 20:34:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-16 20:34:07 +0100 |
commit | 9526009e0eb89b3ce2b881cb35384f9b3ef1e02c (patch) | |
tree | 7fa70a6c63372a27ca2fdb41f752a4ba165b5df9 /lib/system.nim | |
parent | d91d1865b88409ba7fc307505eff69c156d74d52 (diff) | |
download | Nim-9526009e0eb89b3ce2b881cb35384f9b3ef1e02c.tar.gz |
fixes #9120
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 2497d39a6..32a24323e 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3147,7 +3147,7 @@ when not defined(JS): #and not defined(nimscript): result = x.len - y.len when defined(nimscript): - proc readFile*(filename: string): string {.tags: [ReadIOEffect], benign.} + proc readFile*(filename: string): TaintedString {.tags: [ReadIOEffect], benign.} ## Opens a file named `filename` for reading, calls `readAll ## <#readAll>`_ and closes the file afterwards. Returns the string. ## Raises an IO exception in case of an error. If # you need to call |