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:
parent
91af075244
commit
a2ad7d4883
3 changed files with 51 additions and 50 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue