[SR-2454] someBool as NSNumber
no longer produces kCFBoolean* values
#45059
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Apple Swift version 3.0 (swiftlang-800.0.43.6 clang-800.0.38)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 6893c6d83f3e98f21c714785c9e935a4
duplicates:
Issue Description:
Previously, the expression
someBoolVar as NSNumber
would produce eitherkCFBooleanTrue
orkCFBooleanFalse
. As of Xcode 8 beta 6, this is no longer true. Interestingly,true as NSNumber
still produces the correct constants.This should print
true
but it printsfalse
.The text was updated successfully, but these errors were encountered: