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

Could variadic functions be supported? #540

Open
ModProg opened this issue Jun 4, 2023 · 1 comment
Open

Could variadic functions be supported? #540

ModProg opened this issue Jun 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ModProg
Copy link
Contributor

ModProg commented Jun 4, 2023

i.e., a way to allow capturing all arguments as a Vec<Value> or collecting trailing arguments.

@udoprog udoprog added the enhancement New feature or request label Jun 5, 2023
@udoprog
Copy link
Collaborator

udoprog commented Jun 5, 2023

FTR: Natively we can do this with raw functions. That's how dbg is implemented.

In Rune I'm not sure I want to support it since it's not a feature on parity with Rust and would lead to a lot of subtle decision making.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants