Skip to content

Visitor trait visit_arg is never called #133

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

Open
jvllmr opened this issue Feb 9, 2025 · 0 comments
Open

Visitor trait visit_arg is never called #133

jvllmr opened this issue Feb 9, 2025 · 0 comments

Comments

@jvllmr
Copy link

jvllmr commented Feb 9, 2025

When using the Visitor trait I realized that the default values of arguments are never visited. This is because the visit_arg function is never actuall called:

fn visit_arg(&mut self, node: Arg<R>) {

I also could not see an implementation for visiting the default value of an arg.

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

No branches or pull requests

1 participant