[SR-5839] Swift operator ambiguity regression in Xcode 9 #48409
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
Attachment: Download
Environment
Xcode 9 beta 6
macOS 10.12.6
Additional Detail from JIRA
md5: 402cfded03aa99de8ff6c07fcd206921
Issue Description:
I have attached a project which builds successfully in Xcode 8 Swift 3, but fails to build in Xcode 9 beta 6 using the Swift 3 compatibility mode. It also fails to build in normal Swift 4 mode.
Xcode 9 gives me an error saying: "ViewController.swift:19:4: Ambiguous reference to member '+' " and lists "Found this candidate" exactly 40 times. Each candidate points to the same source location.
This has been an issue since either Xcode 9 beta 1 or 2.
The text was updated successfully, but these errors were encountered: