[SR-3319] Casting CGFloat to NSNumber in map closure using $0 broken in DEVELOPMENT-SNAPSHOT-2016-11-29-a #45907
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Swift 3 DEVELOPMENT-SNAPSHOT-2016-11-29-a, macOS Sierra
Additional Detail from JIRA
md5: 47b01355234a41f0e3f7e012e9bb98de
Issue Description:
I recently tried out Swift 3 DEVELOPMENT-SNAPSHOT-2016-11-29-a, and the following breaks on that snapshot but works fine in Xcode 8.1 and Xcode 8.2 beta 2:
In this snapshot, I get the following error:
The text was updated successfully, but these errors were encountered: