<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 Dec 10, 2016, at 4:54 PM, Tommaso Piazza 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=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class="">Hello,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class=""><br class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class="">I have written a small proposal that would allow overloads of operators in structs/classes non only based on the types of the operands but on the return type as well.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class=""><br class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class="">Please let me know you thoughts,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class="">/Tommaso</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class=""><br class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1481417388759_3640" class=""><a href="https://github.com/blender/swift-evolution/blob/proposal/overloads-return-type/NNNN-allow-operator-overloads-in-structs-or-classes-based-on-return-type.md" id="yui_3_16_0_ym19_1_1481417388759_3639" class="">https://github.com/blender/swift-evolution/blob/proposal/overloads-return-type/NNNN-allow-operator-overloads-in-structs-or-classes-based-on-return-type.md</a><br class=""></div></div></div></div></blockquote><br class=""></div><div>That seems like a bug to me… Dunno, maybe it’s intentional and I’m just not aware of the reasoning.</div><div><br class=""></div><div>- Dave Sweeris</div></body></html>