<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks Joe, bug submitted!</div> <br> <div id="bloop_sign_1457475049184570112" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">Mark</div></div> <br><p class="airmail_on">On March 8, 2016 at 2:27:57 PM, Joe Groff (<a href="mailto:jgroff@apple.com">jgroff@apple.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div></div><div>



<title></title>


<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 8, 2016, at 1:15 PM, Mark Anders 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 id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; margin: 0px;" class="">Slava/Joe, thanks for clarifying the issue and Slava for
providing more depth on what needs to happen. Like David, I was
unsure if this was just a bug or an enhancement.</div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; margin: 0px;" class=""><br class=""></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; margin: 0px;" class="">Out of curiosity, you mention some related issues, and I
just ran into something similar and wonder if it’s related
too.</div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; margin: 0px;" class=""><br class=""></div>
<blockquote style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; margin: 0px 0px 0px 40px; border: none; padding: 0px;" class="">
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;" class="">
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(187, 44, 162);" class="">class</span><span class=""><span class="Apple-converted-space">&nbsp;</span>A {}</span></div>
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(187, 44, 162);" class="">class</span><span class=""><span class="Apple-converted-space">&nbsp;</span>B :<span class="Apple-converted-space">&nbsp;</span></span><span style="color: rgb(79, 129, 135);" class="">A</span><span class=""><span class="Apple-converted-space">&nbsp;</span>{}</span></div>
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; min-height: 14px;" class=""><br class=""></div>
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(187, 44, 162);" class="">var</span><span class=""><span class="Apple-converted-space">&nbsp;</span>arrayOfA =
[</span><span style="color: rgb(79, 129, 135);" class="">A</span><span class="">]()</span></div>
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(187, 44, 162);" class="">let</span><span class=""><span class="Apple-converted-space">&nbsp;</span>arrayOfB :
[</span><span style="color: rgb(79, 129, 135);" class="">B</span><span class="">] = [</span><span style="color: rgb(79, 129, 135);" class="">B</span><span class="">()]</span></div>
<div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(79, 129, 135);" class="">arrayOfA</span><span class="">.appendContentsOf(</span><span style="color: rgb(79, 129, 135);" class="">arrayOfB</span><span class="">)</span></div>
<div class=""><span class=""><br class=""></span></div>
</div>
</blockquote>
<span style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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-stroke-width: 0px; float: none; display: inline !important;" class="">This fails to compile, though doing arrayOfA.append(B())
works as I would expect.</span></div>
</blockquote>
<div><br class=""></div>
<div>This one seems like a plain bug to me, since it should be
possible to convert arrayOfB to [A] and hand the [A] off to
appendContentsOf.</div>
</div>
<br class="">
<div class="">-Joe</div>


</div></div></span></blockquote></body></html>