<div dir="ltr"><div>`b + c * d / e` is not, obviously.</div><div>`a ? b : c + x + y` -- I&#39;d also say not, because, well, it&#39;s ternary operator, the special case that everyone should know (otherwise it looks like a mess with ? and : operators).</div><div>`a ?? x + y + z` -- maybe. If not for analogies with || and &amp;&amp; and knowing about @autoclosure, I&#39;d say that priority of ?? should be very high.</div><div><br></div><div>Now that I think about it, if job of SE-0077 could be done with a linter, then... do we still need it?</div><div><br></div><div>- Anton</div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-15 16:00 GMT+03:00 Vladimir.S <span dir="ltr">&lt;<a href="mailto:svabox@gmail.com" target="_blank">svabox@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I understand, the question is if<br>
<br>
`a ?? x + y + z`<br>
and<br>
`a ? b : c + x + y`<br>
(or `b + c * d / e`)<br>
<br>
an &quot;ambiguous case&quot; ?<div><div class="h5"><br>
<br>
On 15.06.2016 15:42, Антон Жилин via swift-evolution wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
It&#39;s tempting to mention SE-0077 in this context. If it&#39;s accepted, we will<br>
be able to make omission of parentheses an error in ambiguous cases.<br>
<br>
- Anton<br>
<br>
<br></div></div>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br>
</blockquote>
</blockquote></div><br></div></div>