<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 30 Dec 2015, at 12:03 AM, Luke Howard &lt;<a href="mailto:lukeh@padl.com" class="">lukeh@padl.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Georgia; font-size: 18px; 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="">* Something weird is going on with casting over which completely breaks NSKeyedArchiver. I can reproduce it with the following:</span><br class="" style="font-family: Georgia; font-size: 18px; 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;"><br class="" style="font-family: Georgia; font-size: 18px; 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;"><span style="font-family: Georgia; font-size: 18px; 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="">&nbsp; &nbsp; let&nbsp;foo&nbsp;=&nbsp;(NSMutableArray() as? AnyObject) as? NSCoding</span><br class="" style="font-family: Georgia; font-size: 18px; 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;"></div></blockquote></div><div class=""><br class=""></div><div class="">More details at:</div><div class=""><br class=""></div><div class=""><a href="https://bugs.swift.org/browse/SR-404" class="">https://bugs.swift.org/browse/SR-404</a></div><div class=""><br class=""></div><div class=""><div class="">— Luke</div></div></body></html>