Fix error when returning a C# type from a script function

This commit is contained in:
Deukhoofd 2019-02-16 13:56:18 +01:00
parent 859c410609
commit 78779588d4
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace Upsilon.Binder.VariableSymbols
public ImmutableArray<VariableSymbol> Parameters { get; } public ImmutableArray<VariableSymbol> Parameters { get; }
public bool IsBound { get; set; } public bool IsBound { get; set; }
public ScriptFunctionVariableOption(Type resultType, ImmutableArray<VariableSymbol> parameters) : base(resultType) public ScriptFunctionVariableOption(TypeContainer resultType, ImmutableArray<VariableSymbol> parameters) : base(resultType)
{ {
Parameters = parameters; Parameters = parameters;
} }