<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 26, 2016, at 12:42 AM, Pyry Jahkola <<a href="mailto:pyry.jahkola@iki.fi" class="">pyry.jahkola@iki.fi</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="">On 26 Feb 2016, at 04:26, Dave Abrahams via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">on Thu Feb 25 2016, ted van gaalen <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">(btw: If I don't put () around -60 , then the compiler complains with<br class="">"Unary operator '-' cannot be applied to an operand of type 'StrideTo<Double>' "<br class="">Could this be a compiler error? Shouldn't it first instantiate or evaluate the <br class="">numerical object,before glueing the .stride() to it? ) <br class=""></blockquote><br class="">Please file a bug report!<br class=""></div></div></blockquote></div><div class=""><br class=""></div><div class="">Doesn't seem like a bug to me. In general, we want to allow an expression like <font face="Menlo" class="">-rect.width</font> to return the negative width, and not apply the unary operator to <font face="Menlo" class="">rect</font> first. Same goes to <font face="Menlo" class="">-array.reduce(0, combine: +)</font>, for example.</div><div class=""><br class=""></div><div class="">Hence, member access and function application bind tighter than prefix operators.</div></div></div></blockquote><br class=""></div><div>You're right, thanks.</div><br class=""></body></html>