Skip to content

[SR-8056] UIApplication.LaunchOptionsKey migrates to UIApplication.UIApplication.LaunchOptionsKey #50589

Open
@keith

Description

@keith
Previous ID SR-8056
Radar rdar://problem/41350748
Original Reporter @keith
Type Bug
Environment

Xcode 10.0 beta 2 (10L177m)

Additional Detail from JIRA
Votes 0
Component/s Source Tooling
Labels Bug, Migrator
Assignee @nkcsgexi
Priority Medium

md5: 36fe65333275d13d9b576e1fcb364899

Issue Description:

If you create a new project in Xcode 10, and then change the SWIFT_VERSION to 4, and then migrate to Swift 4.2, it attempts to migrate this code from the template:

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

To:

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.UIApplication.LaunchOptionsKey: Any]?) -> Bool {

Instead of leaving it alone

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.migrator

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions