make tests green again
This commit is contained in:
parent
3af5a5d9e3
commit
feef109e60
16 changed files with 65 additions and 52 deletions
|
|
@ -73,7 +73,7 @@ proc searchForProcNew(c: PContext, scope: PScope, fn: PSym): PSym =
|
|||
if (sfExported notin result.flags) and (sfExported in fn.flags):
|
||||
let message = ("public implementation '$1' has non-public " &
|
||||
"forward declaration in $2") %
|
||||
[getProcHeader(result), $result.info]
|
||||
[getProcHeader(c.config, result), c.config$result.info]
|
||||
localError(c.config, fn.info, message)
|
||||
return
|
||||
of paramsIncompatible:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue