Fixed bound Func variables having Nil as return type
This commit is contained in:
parent
59909b0d53
commit
73a0d64bed
|
@ -144,7 +144,7 @@ namespace Upsilon.StandardLibraries
|
|||
}
|
||||
|
||||
var result = genericParameters[genericParameters.Length - 1].GetScriptType();
|
||||
return new InternalFunctionVariableSymbol(name, true, Type.Nil, parameters.ToArray(), null, false);
|
||||
return new InternalFunctionVariableSymbol(name, true, result, parameters.ToArray(), null, false);
|
||||
}
|
||||
|
||||
private static VariableSymbol BuildActionVariableSymbol(string name, System.Type type)
|
||||
|
|
Loading…
Reference in New Issue