Commits
Doug Gregor committed 9f4ddfe2e1f
Don't allow an implicit conversion from NSNumber to one of its bridged value types. Eliminate the implicit conversion from NSNumber to one of its bridged value types (Int, Float, Double, Bool, etc.). One can use "as" to perform the conversion instead. This eliminates a class of accepts-dubious that involve lossy conversions from NSNumber to Int. Our eventual arc is to eliminate all of these conversions. This is a small, high-value step along that path rdar://problem/18269449. Swift SVN r21879