Xcode-beta (8S188o): Swift 3 migrator botches NSDecimalNumber.notANumber

Originator:thedov
Number:rdar://27700815 Date Originated:04-Aug-2016 12:09 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (8S188o)
Classification:Other Bug Reproducible:I Didn't Try
 
Summary:
When Swift 2.0 code called NSDecimalNumber.notANumber(), the converter changes it to “NSDecimalNumber.notA” instead of “NSDecimalNumber.notANumber”

Steps to Reproduce:
1. In Xcode 7, make a project with a Swift file that contains the statement “NSDecimalNumber.notANumber()”
2. Open the project with Xcode 8 beta 4
3. Let Xcode convert the project to Swift 3

Expected Results:
The statement becomes “NSDecimalNumber.notANumber”

Actual Results:
The statement becomes “NSDecimalNumber.notA”

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!