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

Rust: Data flow through tuple and struct fields #18131

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

paldepind
Copy link
Contributor

Adds some amount of data flow through tuples and structs.

One notable omission is that field access to structs is not handled. This is because the field in a FieldExpression is a NameRef which is not a subclass of Resolvable. Hence we can not lookup which struct the field is actually for. I think we'll want to have the extractor resolve these NameRefs as well, so we can do the same thing that we do for struct-like variants.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Nov 27, 2024
@paldepind paldepind marked this pull request as ready for review November 27, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant