properly handle note override logic/verbosity/config/cmdline using modifiedyNotes, cmdlineNotes
This commit is contained in:
parent
c1cbf94e2d
commit
1056f9ecff
5 changed files with 31 additions and 32 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue