[SR-10597] KeyPath dynamic member lookup: Name lookup failure diagnostics only talk about the wrapped type #52997
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: a3f69bcea4566910b008fea878b68cd0
Issue Description:
Name lookup failure diagnostics on `@dynamicMemberLookup` types only talk about the wrapped type.
In the example below, the diagnostic talks about `Target`, and doesn't mention `S<Target>`. Similarly, typo correction will find members of `Target`, but not `S<Target>`. It should probably mention both types and include typo corrections on S<Target>.
The text was updated successfully, but these errors were encountered: