Skip to content

[Name lookup] Fix an issue with lazy named member lookup. #14494

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
Feb 9, 2018

Conversation

DougGregor
Copy link
Member

Fix an issue with lazy named member lookup where a sequence of lookups
into a class based on full names (e.g., constraint(equalTo:constant:))
could prevent us from adding candidates with the same based name but
different argument labels.

Fixes SR-6834 / rdar://problem/36851018

Fix an issue with lazy named member lookup where a sequence of lookups
into a class based on full names (e.g., constraint(equalTo:constant:))
could prevent us from adding candidates with the same based name but
different argument labels.

Fixes SR-6834 / rdar://problem/36851018
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

Copy link
Contributor

@graydon graydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% certain either way; I remember fiddling this criterion a fair number of times while working on it, so I'd recommend building some nontrivial projects with it to be sure you're not breaking something else, but otherwise I approve!

@DougGregor DougGregor merged commit a8a3c72 into swiftlang:master Feb 9, 2018
@DougGregor DougGregor deleted the lazy-name-lookup-sr-6834 branch February 9, 2018 00:05
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