diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-01-19 10:11:23 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-01-19 10:11:23 +0100 |
commit | 0dee918de977d4773629108a2a4c0e06ca3b0b3a (patch) | |
tree | 0e3ded808f498898c74014d66299b5a3a33d61d9 /compiler | |
parent | b0429258057f7107f23ace81329164dd4009179f (diff) | |
parent | 063448668934e49fba7d772bb0d5ffdaf702d049 (diff) | |
download | Nim-0dee918de977d4773629108a2a4c0e06ca3b0b3a.tar.gz |
Merge pull request #3735 from oderwat/FixDeprecationWarnings
Fixed deprecation warnings while Nim compiles.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/msgs.nim | 2 | ||||
-rw-r--r-- | compiler/vm.nim | 2 | ||||
-rw-r--r-- | compiler/vmgen.nim | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 649e28cba..a556ad0c5 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -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) = diff --git a/compiler/vm.nim b/compiler/vm.nim index 80c2c0fbf..b537700fa 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -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 diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 75c1378e5..e4435294f 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -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 |