Fix wrong error message

This commit is contained in:
Deukhoofd 2019-01-21 14:37:43 +01:00
parent 47a80d2153
commit b73982237c
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ namespace Upsilon.Binder
if (option == null)
{
_diagnostics.LogError(
$"No valid function with name '{ubMethod.Name}' and parameter types {string.Join(", ", parameters.Select(x => $"'x.Type'"))} found",
$"No valid function with name '{ubMethod.Name}' and parameter types {string.Join(", ", parameters.Select(x => $"'{x.Type}'"))} found",
expression.Span);
}
else