summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-06-05 08:02:54 +0200
committerGitHub <noreply@github.com>2019-06-05 08:02:54 +0200
commit721534119000c2bd53cc72b531726a6104381222 (patch)
treeb03f8b734bfd4526ce719cd065e94d0f8e34a171 /compiler/main.nim
parentfc4f0808c45ab8e72e2c2e3792e4756d9380fe8c (diff)
downloadNim-721534119000c2bd53cc72b531726a6104381222.tar.gz
make fullpaths the default in error messages and stack traces for mor… (#11385)
* make fullpaths the default in error messages and stack traces for more convenient development
* split up -d:release into -d:release and -d:danger flags
* workaround a Nim config parser bug
* fixes an old nim config parser bug
* make megatest green again
* make nimpretty tests work again
* make nimsuggest green
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 84a0fb97d..acd7c7485 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -363,7 +363,8 @@ proc mainCommand*(graph: ModuleGraph) =
     rawMessage(conf, hintSuccessX, [$conf.linesCompiled,
                formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3),
                usedMem,
-               if isDefined(conf, "release"): "Release Build"
+               if isDefined(conf, "danger"): "Dangerous Release Build"
+               elif isDefined(conf, "release"): "Release Build"
                else: "Debug Build"])
 
   when PrintRopeCacheStats: