[SR-6863] Completely misleading type error before undefined type member is checked #49412
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
type checker
Area → compiler: Semantic analysis
Environment
4.1
Additional Detail from JIRA
md5: 317f8f00aab04bbb7e0c4b49d646bf59
Issue Description:
Here's a really bad diagnostic.
Expected result: error: x has no member `whateverUndefined`
Actual result:
The text was updated successfully, but these errors were encountered: