[swift-evolution] Disallowing unreachable code

Jonathan Hull jhull at gbis.com
Wed Mar 29 05:38:07 CDT 2017


> On Mar 27, 2017, at 11:27 AM, John McCall via swift-evolution <swift-evolution at swift.org> wrote:
> 
> In fact, we should probably double-down on this design and add an "unimplemented" expression that always triggers warnings and just traps if you try to evaluate it. That expression would be a logical thing to use in e.g. code snippets automatically inserted by an IDE.

Yes, please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170329/e55ef962/attachment.html>


More information about the swift-evolution mailing list