summary refs log tree commit diff stats
path: root/compiler/passaux.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/passaux.nim')
-rw-r--r--compiler/passaux.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/passaux.nim b/compiler/passaux.nim
index 2ac89c24e..155b956df 100644
--- a/compiler/passaux.nim
+++ b/compiler/passaux.nim
@@ -28,8 +28,8 @@ proc verboseProcess(context: PPassContext, n: PNode): PNode =
   let v = VerboseRef(context)
   if v.config.verbosity == 3:
     # system.nim deactivates all hints, for verbosity:3 we want the processing
-    # messages nonetheless, so we activate them again unconditionally:
-    incl(v.config.notes, hintProcessing)
+    # messages nonetheless, so we activate them again (but honor cmdlineNotes)
+    v.config.setNote(hintProcessing)
     message(v.config, n.info, hintProcessing, $idgen.gFrontEndId)
 
 const verbosePass* = makePass(open = verboseOpen, process = verboseProcess)