[SR-11562] Poor diagnostics for labelling failures with key path subscripts #53967
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 632399e)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 7ad369b10b14575ec923384e1dc86504
Issue Description:
The following produce some poor diagnostics:
We should be pointing out that the user is missing the argument labels for the first two cases, and the argument labels are round the wrong way for the last example.
The text was updated successfully, but these errors were encountered: