Skip to content

Replace convert_checked with convert in some ImplicitAs impls#6704

Merged
josh11b merged 1 commit intocarbon-language:trunkfrom
nicholasbishop:push-qpnxstyqzvxu
Feb 6, 2026
Merged

Replace convert_checked with convert in some ImplicitAs impls#6704
josh11b merged 1 commit intocarbon-language:trunkfrom
nicholasbishop:push-qpnxstyqzvxu

Conversation

@nicholasbishop
Copy link
Contributor

convert_checked is for conversions that are checked at compile time. Since these conversions do not require a constant value they should use checked instead.

(Split out from #6673, explanation of convert/convert_checked derived from the Jan 20, 2026 meeting notes.)

`convert_checked` is for conversions that are checked at compile
time. Since these conversions do not require a constant value they
should use `checked` instead.
@nicholasbishop nicholasbishop requested a review from a team as a code owner February 6, 2026 20:21
@nicholasbishop nicholasbishop requested review from josh11b and removed request for a team February 6, 2026 20:21
@josh11b josh11b added this pull request to the merge queue Feb 6, 2026
Merged via the queue into carbon-language:trunk with commit 1382a86 Feb 6, 2026
9 of 10 checks passed
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.

2 participants