<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Jun 2016, at 14:47, Charlie Monroe via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><div class=""><br style="font-family: Menlo-Regular; font-size: 11px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I can live with Never. But the proposed NoReturn is a single-case solution and would eventually require a code-breaking change anyway were the bottom type implemented under a different name.</span><br style="font-family: Menlo-Regular; font-size: 11px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class="">
Excuse me, but it seems to me you might be missing one important point about the proposal: there's going to be no “the” bottom type — any enum with no cases would act as one if the proposal is accepted. The standard library would just happen name one to stand as the preferred default.<div class=""><br class=""></div><div class="">In other words (unless I'm mistaken), no compiler magic proposed about a specific (`NoReturn` or `Never`) empty enum. All the proposed “magic” would be about <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0102-noreturn-bottom-type.md#language-design" style="font-style: italic;" class="">uninhabited types</a> (link to specific section in the proposal) as return types.<br class=""><div class=""><br class=""><div class=""><div class="">— Pyry</div><div class=""><br class=""></div></div></div></div></body></html>