<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 May 24, 2016, at 1:39 PM, Ryan Lovelett <<a href="mailto:swift-dev@ryan.lovelett.me" class="">swift-dev@ryan.lovelett.me</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Alegreya-Regular; font-size: 15px; font-style: normal; font-variant-caps: 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;" class="">I have filed a bug <a href="https://bugs.swift.org/browse/SR-1610" class="">https://bugs.swift.org/browse/SR-1610</a><br class=""></div><div style="font-family: Alegreya-Regular; font-size: 15px; font-style: normal; font-variant-caps: 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;" class=""> </div><div style="font-family: Alegreya-Regular; font-size: 15px; font-style: normal; font-variant-caps: 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;" class="">Obviously please reformat/update accordingly. This was the best I could come up with.</div></div></blockquote></div><br class=""><div class="">Your issue seems to be with the implicit conversion of NSNumber to a numeric type like Bool. This only happens on Apple platforms, and I think it’s going away in Swift 3. You should be able to work around it by casting to NSNumber, not Bool.</div><div class=""><br class=""></div><div class="">The problems I described with determining the type of the internal number, seem to be covered already as SR-72 <<a href="https://bugs.swift.org/browse/SR-72" class="">https://bugs.swift.org/browse/SR-72</a>>.</div><div class=""><br class=""></div><div class="">—Jens</div></body></html>