summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-07-26 13:28:00 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-07-27 14:01:28 +0200
commitf58d87cb43a7ddb35bc60b73ecf758842decb1a2 (patch)
tree0fcbe180ffe9fc3659d7ca109891d9257566bac0 /compiler/main.nim
parentc9c8fa99cc5342e4f6f16c2bcd306c64c6ac302b (diff)
downloadNim-f58d87cb43a7ddb35bc60b73ecf758842decb1a2.tar.gz
IC: some progress
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index ce80af36d..35c5f9993 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -88,9 +88,7 @@ proc commandCompileToC(graph: ModuleGraph) =
     let proj = changeFileExt(conf.projectFull, "")
     if not changeDetectedViaJsonBuildInstructions(conf, proj):
       # nothing changed
-      # Little hack here in order to not lose our precious
-      # hintSuccessX message:
-      conf.notes.incl hintSuccessX
+      graph.config.notes = graph.config.mainPackageNotes
       return
 
   compileProject(graph)