Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Sep 7, 2020

…ted from affected reference

This is a follow up to #33809

If base type of a unresolved member reference couldn't be determined
(represented as a hole type), before recording a fix about lack of
contextual information, let's make sure that hole originated in either
base or result type of this reference, otherwise the problem is
contextual e.g. generic parameter, which supposed to act as contextual
type for a reference, couldn't be inferred.

…ted from affected reference

If base type of a unresolved member reference couldn't be determined
(represented as a hole type), before recording a fix about lack of
contextual information, let's make sure that hole originated in either
base or result type of this reference, otherwise the problem is
contextual e.g. generic parameter, which supposed to act as contextual
type for a reference, couldn't be inferred.
@xedin xedin requested a review from hborla September 7, 2020 18:45
@xedin
Copy link
Contributor Author

xedin commented Sep 7, 2020

@swift-ci please smoke test

@xedin xedin merged commit 2e03264 into swiftlang:master Sep 8, 2020
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