Fixed internal function not binding variables properly
This commit is contained in:
parent
4b93302c86
commit
599c535ddd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue