Skip to content

Conversation

@dwblaikie
Copy link
Contributor

No description provided.

@dwblaikie dwblaikie requested a review from a team as a code owner October 17, 2025 17:31
@dwblaikie dwblaikie requested review from zygoloid and removed request for a team October 17, 2025 17:31
@dwblaikie dwblaikie added this pull request to the merge queue Oct 17, 2025
Comment on lines 373 to 376
auto interface_owning_decl_id = interface.first_owning_decl_id;
if (!interface_owning_decl_id.has_value()) {
continue;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

If first_owning_decl_id was None, the import_ir_id returned from GetIRId would be None, and we would have returned above, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, right, sorry - had meant to clean up/remove the GetIRId call, since this one caller now needs both parts of the ImportIRInst (both the ImportIRId, and the InstId).

Done that (though it did mean needing two !has_value() -> continue blocks) in 7558fe5

@danakj danakj removed this pull request from the merge queue due to a manual request Oct 17, 2025
@dwblaikie dwblaikie requested a review from danakj October 17, 2025 22:24
Copy link
Contributor

@danakj danakj left a comment

Choose a reason for hiding this comment

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

LGTM

@dwblaikie dwblaikie enabled auto-merge October 20, 2025 18:26
@dwblaikie dwblaikie added this pull request to the merge queue Oct 20, 2025
Merged via the queue into carbon-language:trunk with commit 0ed5d41 Oct 20, 2025
8 checks passed
@dwblaikie dwblaikie deleted the import_interface_id_cross_unit_mismatch branch October 20, 2025 19:05
github-merge-queue bot pushed a commit that referenced this pull request Oct 20, 2025
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.

3 participants