Skip to content

[ConstraintSystem] Don't attempt dynamic member lookup on invalid base #26100

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

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jul 11, 2019

If subscript(dynamicMember:) is unviable because it's either
an instance method referenced on type or static method
referenced on an instance of type, attempting dynamic
member lookup would be incorrect since it's unclear
what is intended.

Resolves: rdar://problem/48994658

If `subscript(dynamicMember:)` is unviable because it's either
an instance method referenced on type or static method
referenced on an instance of type, attempting dynamic
member lookup would be incorrect since it's unclear
what is intended.

Resolves: rdar://problem/48994658
@xedin xedin requested a review from DougGregor July 11, 2019 22:58
@xedin
Copy link
Contributor Author

xedin commented Jul 11, 2019

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jul 12, 2019

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - cd07652

@xedin
Copy link
Contributor Author

xedin commented Jul 12, 2019

@swift-ci please test macOS platform

@xedin xedin merged commit 15b6afc into swiftlang:master Jul 12, 2019
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.

3 participants