Merge pull request #3735 from oderwat/FixDeprecationWarnings
Fixed deprecation warnings while Nim compiles.
This commit is contained in:
commit
0dee918de9
7 changed files with 7 additions and 8 deletions
|
|
@ -828,7 +828,7 @@ proc quit(msg: TMsgKind) =
|
|||
proc log*(s: string) {.procvar.} =
|
||||
var f: File
|
||||
if open(f, "nimsuggest.log", fmAppend):
|
||||
f.writeln(s)
|
||||
f.writeLine(s)
|
||||
close(f)
|
||||
|
||||
proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) =
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ const debugEchoCode = false
|
|||
import ast except getstr
|
||||
|
||||
import
|
||||
strutils, astalgo, msgs, vmdef, vmgen, nimsets, types, passes, unsigned,
|
||||
strutils, astalgo, msgs, vmdef, vmgen, nimsets, types, passes,
|
||||
parser, vmdeps, idents, trees, renderer, options, transf, parseutils,
|
||||
vmmarshal
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
# this copy depends on the involved types.
|
||||
|
||||
import
|
||||
unsigned, strutils, ast, astalgo, types, msgs, renderer, vmdef,
|
||||
strutils, ast, astalgo, types, msgs, renderer, vmdef,
|
||||
trees, intsets, rodread, magicsys, options, lowerings
|
||||
|
||||
from os import splitFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue