[swift-evolution] Disallowing unreachable code

Brent Royal-Gordon brent at architechies.com
Wed Mar 29 18:14:40 CDT 2017


> On Mar 29, 2017, at 8:11 AM, John McCall via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I was suggesting that it would be a useful addition to the language, not that it
> necessarily needed new compiler support.

Personally, what I'd like to see is for the existing <#whatever#> placeholder syntax to be treated as an unimplemented() call. That probably *would* require compiler support, although fortunately we already parse this syntax into an EditorPlaceholderExpr.

-- 
Brent Royal-Gordon
Architechies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170329/963dced3/attachment.html>


More information about the swift-evolution mailing list