Skip to content

[LookupVisibleDecls] Look through DynamicSelfType in meta type lookup #29346

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
Jan 22, 2020

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jan 22, 2020

We need to unwrap DynamicSelfType to get the visible decls on the meta type.

rdar://problem/58778439

@rintaro
Copy link
Member Author

rintaro commented Jan 22, 2020

@swift-ci Please smoke test

@rintaro rintaro requested a review from slavapestov January 22, 2020 01:51
@slavapestov
Copy link
Contributor

This is fine, but please add a test case. I'm hoping that one day we can scrap LookupVisibleDecls and merge it with the normal qualified lookup path, so at this point, the test cases have more long term value than the code itself :-)

@rintaro
Copy link
Member Author

rintaro commented Jan 22, 2020

Ah, I forgot to git add the test cases 🤔

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

Approved on the condition that you add a (passing) test case :-)

We need to unwrap DynamicSelfType to get the visible decls on the meta
type.

rdar://problem/58778439
@rintaro rintaro force-pushed the ide-completion-rdar58778439 branch from 9242273 to 43ad81c Compare January 22, 2020 17:45
@rintaro
Copy link
Member Author

rintaro commented Jan 22, 2020

@swift-ci Please smoke test

@rintaro rintaro merged commit 0a7c3b9 into swiftlang:master Jan 22, 2020
@rintaro rintaro deleted the ide-completion-rdar58778439 branch January 23, 2020 19:27
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.

2 participants