<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Mar 29, 2017, at 4:14 PM, Brent Royal-Gordon &lt;<a href="mailto:brent@architechies.com" class="">brent@architechies.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; 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-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div class="">On Mar 29, 2017, at 8:11 AM, John McCall via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I was suggesting that it would be a useful addition to the language, not that it</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">necessarily needed new compiler support.</div></div></blockquote><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></div><div class="">Personally, what I'd like to see is for the existing &lt;#whatever#&gt; placeholder syntax to be treated as an unimplemented() call. That probably *would* require compiler support, although fortunately we already parse this syntax into an&nbsp;EditorPlaceholderExpr.</div></div></div></blockquote><br class=""></div><div>Actually, looking more closely, we already have this behavior in playgrounds (and REPLs); it's only an error when you compile. Like, we literally do this:</div><div><br class=""></div><div>&nbsp; &nbsp; &nbsp;&nbsp;// Found it. Flag it as error (or warning, if in playground mode) for the<br class="">&nbsp; &nbsp; &nbsp;&nbsp;// rest of the compiler pipeline and lex it as an identifier.<br class="">&nbsp; &nbsp; &nbsp;&nbsp;if&nbsp;(LangOpts.Playground) {<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;diagnose(TokStart,&nbsp;diag::lex_editor_placeholder_in_playground);<br class="">&nbsp; &nbsp; &nbsp;&nbsp;}&nbsp;else&nbsp;{<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;diagnose(TokStart,&nbsp;diag::lex_editor_placeholder);<br class="">&nbsp; &nbsp; &nbsp;&nbsp;}<br class=""><br class=""></div><div>Could we change the compile-time error into a warning? Would that require an evolution proposal?</div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px;"><div class=""><div style="font-size: 12px; " class="">--&nbsp;</div><div style="font-size: 12px; " class="">Brent Royal-Gordon</div><div style="font-size: 12px; " class="">Architechies</div></div></span>

</div>
<br class=""></body></html>