The compiler has been incorrectly introducing bridging conversions for some cases where non-bridging conversions are more desirable. In the case above, I've added explicit conversions to NSNumber to match previous behavior, but I need to investigate what's been going on here.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, TypeChecker | |Assignee | None | |Priority | Medium | md5: dddff89956cbdfe8f1042ae30eb506ebIssue Description:
See Dmitri's comments in this pull request: https://github.com/apple/swift/pull/2419
The compiler has been incorrectly introducing bridging conversions for some cases where non-bridging conversions are more desirable. In the case above, I've added explicit conversions to NSNumber to match previous behavior, but I need to investigate what's been going on here.