Skip to content

Sema: Fix order dependency in @objc inference from witnessed protocol requirement [5.1] #24256

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

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Apr 24, 2019

If we haven't validated the declaration yet, the 'witnesses @objc
requirement' check would immediately fail. Move the validateDecl()
call to matchWitness() to fix this.

Fixes rdar://problem/49482328, fixes #52657.

… requirement

If we haven't validated the declaration yet, the 'witnesses @objc
requirement' check would immediately fail. Move the validateDecl()
call to matchWitness() to fix this.

Fixes <rdar://problem/49482328>, <https://bugs.swift.org/browse/SR-10257>.
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4710da5

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 4710da5

@slavapestov
Copy link
Contributor Author

@shahmishal Looks like there's an issue with update-checkout on the swift-5.1-branch?

@shahmishal
Copy link
Member

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4710da5

@shahmishal
Copy link
Member

@swift-ci Please test macOS

@shahmishal
Copy link
Member

@shahmishal Looks like there's an issue with update-checkout on the swift-5.1-branch?

It should be resolved now.

@slavapestov slavapestov merged commit b98b8a4 into swiftlang:swift-5.1-branch Apr 25, 2019
@LiuDeng
Copy link

LiuDeng commented Apr 30, 2019

When will swift 5.1 been release?It is really a big problem.

@Robuske
Copy link

Robuske commented May 7, 2019

I agree, It was breaking my CollectionViews and who knows what else, which I believe is the main problem, it could be breaking anything silently
Shouldn't this be release as a hotfix to the compiler/Xcode?

@sunshinejr
Copy link

@LiuDeng @Robuske seems like Xcode 10.3 fixes the problem! At least that's what we got from our initial tests.. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants