Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-5839] Swift operator ambiguity regression in Xcode 9 #48409

Open
swift-ci opened this issue Sep 5, 2017 · 0 comments
Open

[SR-5839] Swift operator ambiguity regression in Xcode 9 #48409

swift-ci opened this issue Sep 5, 2017 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression swift 4.0

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Sep 5, 2017

Previous ID SR-5839
Radar https://bugreport.apple.com/web/?problemID=34070266
Original Reporter kristianp (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 9 beta 6

macOS 10.12.6

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.0Regression
Assignee None
Priority Medium

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.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression swift 4.0
Projects
None yet
Development

No branches or pull requests

2 participants