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

Improve handling of struct expressions in nr2.0 #3225

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

powerboat9
Copy link
Contributor

No description provided.

Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good - does it fix a testcase or something you had? If so, please add it as a testcase in this PR

@powerboat9
Copy link
Contributor Author

I've been grabbing changes from a development branch I've been working on, and this one came later in the commit history, so it doesn't fix any test cases as-is.

gcc/rust/ChangeLog:

	* resolve/rust-late-name-resolver-2.0.cc
	(Late::visit): Handle StructExprStruct and use
	ForeverStack::resolve_path instead of ForeverStack::get to
	resolve struct expression paths.
	* resolve/rust-late-name-resolver-2.0.h
	(Late::visit): Handle StructExprStruct.

Signed-off-by: Owen Avery <[email protected]>
@P-E-P P-E-P added this pull request to the merge queue Nov 4, 2024
Merged via the queue into Rust-GCC:master with commit efcf4d4 Nov 4, 2024
12 checks passed
@powerboat9 powerboat9 deleted the improve-struct branch November 4, 2024 16:16
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.

3 participants