[SR-14162] Index store does not relate static property getter used as subscript key. #56541
Labels
accessors
Feature → declarations: Variable (property) accessors
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
expressions
Feature: expressions
indexing
Area → source tooling: AST indexing
let & var
Feature: constant and variable declarations
source tooling
Area: IDE support, SourceKit, and other source tooling
subscript expressions
Feature → expressions: Subscript expressions
swift 5.4
unexpected behavior
Bug: Unexpected behavior or incorrect output
Environment
Swift 5.3 & 5.4 beta (Xcode 12.5 beta 1)
Additional Detail from JIRA
md5: 7c96ce342087142383568e877034f2d5
Issue Description:
Given the following code:
The index store does not relate the
someVar
getter when used as a subscript key. It does however relate the setter, which is also incorrect.The text was updated successfully, but these errors were encountered: