-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
do
command does not pass rest arguments to the passed block
#4660
Labels
Milestone
Comments
related #4522 |
This one is going to need a bit more work in the type system. Right now there isn't a way to say "a block with an arbitrary signature" that gets filled in later. All the other commands already know how many parameters they need, and we want to check those.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The help information for
do
states that the rest arguments to it will be passed to the block parameter.do block ...rest
I'm not sure how to use the arguments passed from the block. I'd expect this to work (unless I'm missing something)
How to reproduce
Expected behavior
should print in the screen
hola
Screenshots
No response
Configuration
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: