You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before tackling #34, I should refactor the parser, resolver, and interpreter to use a new ParameterList struct, which not only contains the list of named parameters to a function, but it should also be the object to be consulted when checking the arity of that function. It will ultimately look something like this:
struct ParameterList {
var normalParameters: [Token]
var variadicParameter: Token?
}
... but also with an arity checking method. UserDefinedFunction will need to be updated as well.
The text was updated successfully, but these errors were encountered:
Before tackling #34, I should refactor the parser, resolver, and interpreter to use a new
ParameterList
struct, which not only contains the list of named parameters to a function, but it should also be the object to be consulted when checking the arity of that function. It will ultimately look something like this:... but also with an arity checking method.
UserDefinedFunction
will need to be updated as well.The text was updated successfully, but these errors were encountered: