-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builtin for performing checked conversion between integer types. (#…
…4523) As a prerequisite for switching the type of int literals to be the `IntLiteral` type, add support for performing conversions of in-bounds integer constant values to other integer types in which they fit. This incidentally is our first compile-time-only builtin function, so add very minimal support for compile-time-only functions while we're here.
- Loading branch information
Showing
9 changed files
with
2,923 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.