--hintAsError (#16763)
* --hintAsError * add test, changelog * condsyms
This commit is contained in:
parent
2bedb0fe2c
commit
4fc7fcb775
8 changed files with 56 additions and 9 deletions
|
|
@ -352,6 +352,7 @@ proc processNote(c: PContext, n: PNode) =
|
|||
of wHint: handleNote(hintMin .. hintMax, c.config.notes)
|
||||
of wWarning: handleNote(warnMin .. warnMax, c.config.notes)
|
||||
of wWarningAsError: handleNote(warnMin .. warnMax, c.config.warningAsErrors)
|
||||
of wHintAsError: handleNote(hintMin .. hintMax, c.config.warningAsErrors)
|
||||
else: invalidPragma(c, n)
|
||||
else: invalidPragma(c, n)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue