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

Factor out machinery for forming int type literals. #4616

Merged

Conversation

zygoloid
Copy link
Contributor

@zygoloid zygoloid commented Dec 3, 2024

Use it in the remaining few places where we currently hardcode i32: as the index type in array indexing, as the type for literals in if expressions, and as a valid return type for Run.

In preparation for changing Core.Int to be a class.

Use it in the remaining few places where we currently hardcode `i32`: as
the index type in array indexing, as the type for literals in `if`
expressions, and as a valid return type for `Run`.

In preparation for changing `Core.Int` to be a class.
@github-actions github-actions bot requested a review from jonmeow December 3, 2024 08:46
toolchain/check/handle_function.cpp Outdated Show resolved Hide resolved
Co-authored-by: Jon Ross-Perkins <[email protected]>
@zygoloid zygoloid enabled auto-merge December 3, 2024 18:34
@zygoloid zygoloid added this pull request to the merge queue Dec 3, 2024
Merged via the queue into carbon-language:trunk with commit e4412a9 Dec 3, 2024
8 checks passed
@zygoloid zygoloid deleted the toolchain-make-i32-less-special branch December 3, 2024 18:57
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