swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.38k stars 10.34k forks source link

[SR-1432] Investigate unwanted implicit conversions to NSNumber in the SceneKit overlay #44041

Open jopamer opened 8 years ago

jopamer commented 8 years ago
Previous ID SR-1432
Radar None
Original Reporter @jopamer
Type Bug
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, TypeChecker | |Assignee | None | |Priority | Medium | md5: dddff89956cbdfe8f1042ae30eb506eb

Issue 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.

Dante-Broggi commented 6 years ago

Has this been examined? If It has, it's status should be updated.