error messages can have spaces, don't be dyslexic

This commit is contained in:
Araq
2019-02-08 12:11:40 +01:00
parent 710cfcecd3
commit 4ed7507cb2
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ proc getProcHeader*(conf: ConfigRef; sym: PSym; prefer: TPreferedDesc = preferNa
add(result, ')')
if n.sons[0].typ != nil:
result.add(": " & typeToString(n.sons[0].typ, prefer))
result.add "[declared in "
result.add " [declared in "
result.add(conf$sym.info)
result.add "]"

View File

@@ -2,7 +2,7 @@ discard """
cmd: "nim check $options $file"
errormsg: ""
nimout: '''
t8794.nim(39, 27) Error: undeclared field: 'a3' for type m8794.Foo3[declared in m8794.nim(1, 6)]
t8794.nim(39, 27) Error: undeclared field: 'a3' for type m8794.Foo3 [declared in m8794.nim(1, 6)]
'''
"""