Skip to content

Sema: Prefer an outer type named 'Self' over the SE-0068 behavior [5.2] #29900

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

Conversation

slavapestov
Copy link
Contributor

This fixes a recent source break. We need to perform the normal
unqualified lookup before we handle the special case of 'Self',
because there might be a type named Self defined in an outer
context.

Fixes https://bugs.swift.org/browse/SR-12133 / rdar://problem/59216636

This fixes a recent source break. We need to perform the normal
unqualified lookup before we handle the special case of 'Self',
because there might be a type named Self defined in an outer
context.

Fixes <https://bugs.swift.org/browse/SR-12133> / <rdar://problem/59216636>
@slavapestov slavapestov requested a review from a team as a code owner February 18, 2020 03:29
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov changed the title Sema: Prefer an outer type named 'Self' over the SE-0068 behavior Sema: Prefer an outer type named 'Self' over the SE-0068 behavior [5.2] Feb 18, 2020
@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - aacc052

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - aacc052

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - aacc052

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - aacc052

Copy link
Contributor

@CodaFi CodaFi left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants