diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2015-02-04 14:15:52 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2015-02-04 14:15:52 -0600 |
commit | d4c32102d829ffdbca117da27d2bbe876b4ad10f (patch) | |
tree | e90a6b15536aca09ca9ed1c8b1c24d0fa283626d /compiler | |
parent | fc5700619bfcab56fcfe7f62cf87906d1d012e8a (diff) | |
download | Nim-d4c32102d829ffdbca117da27d2bbe876b4ad10f.tar.gz |
use dynamic message destination
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/msgs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 8d1a18b44..59789df6c 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -718,7 +718,7 @@ proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) = if stackTraceAvailable(): writeStackTrace() else: - stderr.writeln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp c <file>") + msgWriteln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp c <file>") quit 1 if msg >= fatalMin and msg <= fatalMax: |