Fixed internal function not binding variables properly
This commit is contained in:
1 file changed
+1
-1
@@ -32,7 +32,7 @@ namespace Upsilon.Binder.VariableSymbols
|
||||
public override (bool IsValid, string Error,
|
||||
BoundExpression WrongParameter) ValidateParameters(ImmutableArray<BoundExpression> callingParameters)
|
||||
{
|
||||
if (FunctionParameters.Length < MinimalParametersRequired
|
||||
if (callingParameters.Length < MinimalParametersRequired
|
||||
|| callingParameters.Length > FunctionParameters.Length)
|
||||
{
|
||||
return (false,
|
||||
|
||||
Reference in new issue
Block a user