Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepper: Build-in function ignores extra arguments passed in #1626

Open
hanscau opened this issue Apr 1, 2024 · 0 comments
Open

Stepper: Build-in function ignores extra arguments passed in #1626

hanscau opened this issue Apr 1, 2024 · 0 comments
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

Comments

@hanscau
Copy link
Contributor

hanscau commented Apr 1, 2024

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 return 1
is_boolean(1, 3, "string", false) will return false

It should throw an "Expected x arguments, but got y." error instead

Expected behaviour:
image

@martin-henz martin-henz added 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 labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants