Fix wrong error message
This commit is contained in:
parent
47a80d2153
commit
b73982237c
|
@ -330,7 +330,7 @@ namespace Upsilon.Binder
|
||||||
if (option == null)
|
if (option == null)
|
||||||
{
|
{
|
||||||
_diagnostics.LogError(
|
_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);
|
expression.Span);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue