-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
acceptedThis proposal is planned.This proposal is planned.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
?noreturnis not allowed instead of beingvoid-equivalent (alwaysnull). Likeu0is currentlyvoid-equivalent.- Empty unions are disallowed instead of being
noreturn-equivalent. - unreachable code error is too strict, preventing instantiating generic code with
T=noreturn - Using
noreturnfor union variant does still allocate a tag for such variant
Java gets unit and zero types wrong. Rust gets unit and zero types (relatively) right. Zig gets unit type right, but zero type wrong. Shall it be fixed?
tadeokondrak, ifreund, raulgrell and matu3ba
Metadata
Metadata
Assignees
Labels
acceptedThis proposal is planned.This proposal is planned.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.