Stepper: Build-in function ignores extra arguments passed in #1626
Labels
Bug
Something isn't working
minor
less important than important but more than nice-to-have
_postponed
postponed for now; revisiting later, when time allows
When a built-function is called with more arguments than it requires, it ignores it.
pair(1, 2, 3, 4, 5)
will result in[1, 2]
head(list(1), list(2), list(3))
will return1
is_boolean(1, 3, "string", false)
will returnfalse
It should throw an "Expected x arguments, but got y." error instead
Expected behaviour:
The text was updated successfully, but these errors were encountered: