From b73982237cbb256d3d038a80c7bd65133f36cbc9 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Mon, 21 Jan 2019 14:37:43 +0100 Subject: [PATCH] Fix wrong error message --- Upsilon/Binder/Binder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Upsilon/Binder/Binder.cs b/Upsilon/Binder/Binder.cs index db4fd2d..6397421 100644 --- a/Upsilon/Binder/Binder.cs +++ b/Upsilon/Binder/Binder.cs @@ -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