<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=""><div class="">
                
        
        
                <div class="page" title="Page 27">
                        <div class="section" style="background-color: rgb(100.000000%, 100.000000%, 100.000000%)">
                                <div class="layoutArea">
                                        <div class="column"><p class=""><font face="SFHello" class=""><span style="font-size: 14.666666984558105px;" class=""><a href="http://adcdownload.apple.com/WWDC_2017/Xcode_9_beta/Xcode_9_beta_Release_Notes.pdf" class="">http://adcdownload.apple.com/WWDC_2017/Xcode_9_beta/Xcode_9_beta_Release_Notes.pdf</a></span></font></p><p class=""></p></div></div></div></div></div><blockquote type="cite" class=""><div class=""><div class="page" title="Page 27"><div class="section" style="background-color: rgb(100.000000%, 100.000000%, 100.000000%)"><div class="layoutArea"><div class="column"><p class=""><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">The migrator does not properly distinquish between single-tuple and multiple-argument
function types as described in </span><span style="font-size: 11.000000pt; font-family: 'SFHello'; color: rgb(10.980390%, 47.843140%, 75.686270%)" class="">SE–0110</span><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">, causing additional mismatched type errors with the
closure types that are passed to Standard Library functions expecting tuple objects.
(32431899)
</span></p><p class=""><span style="font-size: 11.000000pt; font-family: 'SFHello'; font-weight: 700" class="">Workaround</span><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">: Manually fix the closure types to accept values of tuples instead of separate
argument values.</span></p><p class=""><span style="font-size: 11.000000pt; font-family: 'SFHello'" class=""><br class=""></span></p>
                
        
        
                <div class="page" title="Page 28">
                        <div class="section">
                                <div class="layoutArea">
                                        <div class="column"><p class=""><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">When using </span><span style="font-size: 10.000000pt; font-family: 'SFMono'; color: rgb(49.803920%, 49.803920%, 49.803920%)" class="">$0 </span><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">and </span><span style="font-size: 10.000000pt; font-family: 'SFMono'; color: rgb(49.803920%, 49.803920%, 49.803920%)" class="">$1 </span><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">in a closure that is passed to a function expecting a closure with a single
tuple argument, the compiler may error after migration with:
</span></p>
                                                <pre class=""><span style="font-size: 10.000000pt; font-family: 'SFMono'; color: rgb(49.803920%, 49.803920%, 49.803920%)" class="">    error: closure tuple parameter '(TYPE, TYPE)' does not support
    destructuring with implicit parameters
</span></pre><p class=""><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">(32489893)<br class=""></span></p>
                                        </div>
                                </div>
                        </div>
                </div><p class=""><span style="font-size: 11pt; font-family: SFHello; font-weight: 700;" class="">Workaround</span><span style="font-size: 11pt; font-family: SFHello;" class="">: Change </span><span style="font-size: 10pt; font-family: SFMono; color: rgb(127, 127, 127);" class="">$0 </span><span style="font-size: 11pt; font-family: SFHello;" class="">and </span><span style="font-size: 10pt; font-family: SFMono; color: rgb(127, 127, 127);" class="">$1 </span><span style="font-size: 11pt; font-family: SFHello;" class="">references to </span><span style="font-size: 10pt; font-family: SFMono; color: rgb(127, 127, 127);" class="">$0.0 </span><span style="font-size: 11pt; font-family: SFHello;" class="">and </span><span style="font-size: 10pt; font-family: SFMono; color: rgb(127, 127, 127);" class="">$0.1 </span><span style="font-size: 11pt; font-family: SFHello;" class="">respectively.</span><span style="font-size: 11.000000pt; font-family: 'SFHello'" class="">&nbsp;</span></p>
                                        </div>
                                </div>
                        </div>
                </div></div></blockquote><div class="">Where are the firemen?</div><div class=""><br class=""></div><div class="">Gwendal</div><div class=""><br class=""></div></body></html>