[SR-11435] Suboptimal diagnostics for key path component requirement failure #53836
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
Swift version 5.1-dev (LLVM c5340df2d1, Swift 97dd1aa)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 74ee374817242b43149e3cdeb9818bc4
Issue Description:
For the following code:
we incorrectly associate the requirement failure with the
KeyPath
type:We should instead associate the failure with the specific decls being referenced.
The text was updated successfully, but these errors were encountered: