This commit is contained in:
Mattia Giambirtone 2022-11-28 18:30:19 +01:00
parent 0ed67cff1b
commit 58b5d07dd6
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ proc match(self: Compiler, name: string, kind: Type, node: ASTNode = nil, args:
if names.len() > 1:
msg &= "s"
if self.showMismatches:
msg &= " :"
msg &= ":"
for name in names:
msg &= &"\n - in {relativePath(name.file, getCurrentDir())}:{name.ident.token.line}:{name.ident.token.relPos.start} -> {self.typeToStr(name.valueType)}"
if name.valueType.kind != Function: