swift
79a2ab0c - [ConstraintSystem] Record `unable to infer base` only if hole originated from affected reference

Commit
5 years ago
[ConstraintSystem] Record `unable to infer base` only if hole originated 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.
Author
Committer
Parents
Loading