Skip to content

Make ItemName::defining_target work consistently for unsupported items#562

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_875926407
Open

Make ItemName::defining_target work consistently for unsupported items#562
copybara-service[bot] wants to merge 1 commit intomainfrom
test_875926407

Conversation

@copybara-service
Copy link

Make ItemName::defining_target work consistently for unsupported items

Constructing an UnsupportedItem from an item with a defining target was throwing away context to produce an item with the same name and ID, but no defining target. This was an unintentional inconsistency and caused panics in some cases with error reporting enabled.

Constructing an `UnsupportedItem` from an item with a defining target was throwing away context to produce an item with the same name and ID, but no defining target. This was an unintentional inconsistency and caused panics in some cases with error reporting enabled.

PiperOrigin-RevId: 875926407
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.

1 participant