fix deprecation warnings related to Int128 (#12474)

* semfold: fix deprecation warnings related to Int128

* semmagic: fix deprecation warnings related to Int128

* system/io: remove unneeded conversion of TaintedString to itself
This commit is contained in:
Miran 2019-10-28 09:58:39 +01:00 • committed by Andreas Rumpf
commit a2ad7d4883
3 changed files with 51 additions and 50 deletions

View file

@ -666,7 +666,7 @@ proc readFile*(filename: string): TaintedString {.tags: [ReadIOEffect], benign.}
var f: File
if open(f, filename):
try:
result = readAll(f).TaintedString
result = readAll(f)
finally:
close(f)
else: