<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 Feb 12, 2016, at 10:24 AM, David Waite via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I think you may have misunderstood - I’m asking if we can make your switch example into legal code :-)<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c32275" class="">var</span> point = <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">CGPoint.zero</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; min-height: 21px;" class=""><br class=""></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(195, 34, 117);" class="">switch<span style="" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #539aa4" class="">point</span><span style="" class=""> {</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(29, 148, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c32275" class="">case</span><span style="" class=""> .zero: </span>// Error: Enum case 'zero' not found in type 'CGPoint'</div></div></div></div></blockquote><br class=""></div><div>That's a bug.</div><div><br class=""></div><div>-Joe</div><br class=""></body></html>