From 78779588d483f8c02f9f4ef8e152363834fee2a8 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 16 Feb 2019 13:56:18 +0100 Subject: [PATCH] Fix error when returning a C# type from a script function --- Upsilon/Binder/VariableSymbols/ScriptFunctionVariableSymbol.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Upsilon/Binder/VariableSymbols/ScriptFunctionVariableSymbol.cs b/Upsilon/Binder/VariableSymbols/ScriptFunctionVariableSymbol.cs index 7b65b2d..f0e4d32 100644 --- a/Upsilon/Binder/VariableSymbols/ScriptFunctionVariableSymbol.cs +++ b/Upsilon/Binder/VariableSymbols/ScriptFunctionVariableSymbol.cs @@ -69,7 +69,7 @@ namespace Upsilon.Binder.VariableSymbols public ImmutableArray Parameters { get; } public bool IsBound { get; set; } - public ScriptFunctionVariableOption(Type resultType, ImmutableArray parameters) : base(resultType) + public ScriptFunctionVariableOption(TypeContainer resultType, ImmutableArray parameters) : base(resultType) { Parameters = parameters; }