-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
acceptedThis proposal is planned.This proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
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.FloatLiteraltoComptimeFloat@import("builtin").TypeId.IntLiteraltoComptimeInt@import("builtin").TypeId.UndefinedLiteraltoUndefined@import("builtin").TypeId.NullLiteraltoNull
Metadata
Metadata
Assignees
Labels
acceptedThis proposal is planned.This proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.