[SR-7844] Error message for a subscript without accessors says "computed property" #50380
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
improvement
parser
Area → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: b407676a422a443e25c49bc40cb4b709
Issue Description:
This is a subscript, not a computed property. The diagnostic should be changed to reflect that. (The best way to do this is probably using the
%select
feature of Swift diagnostics, not defining two separate diagnostics.)The text was updated successfully, but these errors were encountered: