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

Fix incorrect value_id and location in imported BindSymbolicName. #4178

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

zygoloid
Copy link
Contributor

Instead of updating the value_id on the canonical constant BindSymbolicName to refer to some particular instance of that constant, create a new instruction, and attach the proper location to it.

Copy link
Contributor

@jonmeow jonmeow left a comment

Choose a reason for hiding this comment

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

Looks good.

@jonmeow jonmeow added this pull request to the merge queue Jul 31, 2024
Merged via the queue into carbon-language:trunk with commit e6e61e1 Jul 31, 2024
9 checks passed
@zygoloid zygoloid deleted the toolchain-bsn branch August 2, 2024 22:50
brymer-meneses pushed a commit to brymer-meneses/carbon-lang that referenced this pull request Aug 15, 2024
…carbon-language#4178)

Instead of updating the `value_id` on the canonical constant
`BindSymbolicName` to refer to some particular instance of that
constant, create a new instruction, and attach the proper location to
it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants