Revert localErrorNode param order changes (#17809)
* Revert localErrorNode param order changes * Remove unused globalError overload * heh
This commit is contained in:
parent
7c64e49d45
commit
80389b8053
5 changed files with 20 additions and 13 deletions
|
|
@ -585,9 +585,6 @@ template globalError*(conf: ConfigRef; info: TLineInfo, msg: TMsgKind, arg = "")
|
|||
template globalError*(conf: ConfigRef; info: TLineInfo, arg: string) =
|
||||
liMessage(conf, info, errGenerated, arg, doRaise, instLoc())
|
||||
|
||||
template globalError*(conf: ConfigRef; format: string, params: openArray[string]) =
|
||||
liMessage(conf, unknownLineInfo, errGenerated, format % params, doRaise, instLoc())
|
||||
|
||||
template localError*(conf: ConfigRef; info: TLineInfo, msg: TMsgKind, arg = "") =
|
||||
liMessage(conf, info, msg, arg, doNothing, instLoc())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue