Closed
Description
Right now,
@typeName(@typeOf(1))
is "(integer literal)"@typeName(@typeOf(1.0))
is "(float literal)"
I propose that these are renamed to comptime_int
and comptime_float
respectively. You would be able to refer to the types directly by name.
Also rename
@import("builtin").TypeId.FloatLiteral
toComptimeFloat
@import("builtin").TypeId.IntLiteral
toComptimeInt
@import("builtin").TypeId.UndefinedLiteral
toUndefined
@import("builtin").TypeId.NullLiteral
toNull