[SR-9171] inout-to-pointer in a subscript arg could use a better diagnostic #51664
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
Environment
Swift version 4.2-dev (LLVM b70847456e, Clang 86404441b8, Swift 17808c32fe)
Target: x86_64-apple-darwin17.7.0
Additional Detail from JIRA
md5: 838ee52675f035a4d8432cf8786d8b1b
relates to:
Issue Description:
The diagnostic for the following could be improved to let the user know that you cannot pass an inout argument to a subscript:
The text was updated successfully, but these errors were encountered: