> On May 24, 2016, at 1:39 PM, Ryan Lovelett <swift-...@ryan.lovelett.me> wrote:
> 
> I have filed a bug https://bugs.swift.org/browse/SR-1610 
> <https://bugs.swift.org/browse/SR-1610>
>  
> Obviously please reformat/update accordingly. This was the best I could come 
> up with.

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.

The problems I described with determining the type of the internal number, seem 
to be covered already as SR-72 <https://bugs.swift.org/browse/SR-72>.

—Jens
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to