refs #7586; show surounding source also for hints and warnsings
This commit is contained in:
parent
9cc8fec370
commit
6667362c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ proc liMessage(info: TLineInfo, msg: TMsgKind, arg: string,
|
|||
KindColor, `%`(KindFormat, kind))
|
||||
else:
|
||||
styledMsgWriteln(styleBright, x, resetStyle, color, title, resetStyle, s)
|
||||
if msg in errMin..errMax and hintSource in gNotes:
|
||||
if hintSource in gNotes:
|
||||
info.writeSurroundingSrc
|
||||
handleError(msg, eh, s)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue