<html><body><div>This error is for Swift 3 Xcode 8 beta 6</div><div><br data-mce-bogus="1"></div><div><p class="p1"></p><p class="p1"><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;"><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #4f8187;">array</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;">.forEach {( <span style="color: #bb2ca2; font-family: Menlo; font-size: 11px;" data-mce-style="color: #bb2ca2; font-family: Menlo; font-size: 11px;">var</span>&nbsp;a : </span><span style="font-variant-ligatures: no-common-ligatures; color: #703daa;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #703daa;">AnyObject</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;">) -&gt; () </span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;">in</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;"> </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">// error here : Parameters may not have the 'var' specifier</span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;"><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;">&nbsp;&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">// modify object here</span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">}</span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;"><br data-mce-bogus="1"></span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #bb2ca2;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #bb2ca2;"><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">for</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;"> </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">var</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;"> a </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">in</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;"> </span><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #4f8187;">array</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;"> { &nbsp;<span style="color: #008400; font-family: Menlo; font-size: 11px;" data-mce-style="color: #008400; font-family: Menlo; font-size: 11px;">// OK</span></span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: #008400;"><span style="font-variant-ligatures: no-common-ligatures; color: #000000;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #000000;">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">// modify object here</span></p><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" data-mce-style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;">}</span></p></p><p class="p2"><span class="s5"><br></span></p><p></p></div></body></html>