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

Add support for #[default = "..."] in methods as well #436

Merged

Conversation

Ilia-Kosenkov
Copy link
Member

Fixes #435.
Unify how functions' and methods' args are handled when wrappers are generated. Slightly rework how formal and actual arguments are generated from Arg metadata.

extendr-api/src/metadata.rs Show resolved Hide resolved
extendr-api/src/metadata.rs Outdated Show resolved Hide resolved
@Ilia-Kosenkov Ilia-Kosenkov merged commit 395a385 into extendr:master Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#[default = "NULL"] doesn't work in impl block
2 participants