Skip to content

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