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.
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.