diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 5ce04e5480c51..a43acf825cf52 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -560,9 +560,10 @@ proc liMessage*(conf: ConfigRef; info: TLineInfo, msg: TMsgKind, arg: string, ignoreMsg = not conf.hasHint(msg) if not ignoreMsg and msg in conf.warningAsErrors: title = ErrorTitle + color = ErrorColor else: title = HintTitle - color = HintColor + color = HintColor inc(conf.hintCounter) let s = if isRaw: arg else: getMessageStr(msg, arg)