[SR-13768] Index store does not relate constructor via literal notation #56165
Labels
Array
Area → standard library: The `Array` type
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
call expressions
Feature → expressions: Call expressions
declarations
Feature: declarations
expressions
Feature: expressions
indexing
Area → source tooling: AST indexing
init
Feature → declarations: Initializers
source tooling
Area: IDE support, SourceKit, and other source tooling
sugared types
Feature: sugared types, e.g. 'Int?' or '[Int]'
swift 5.9
types
Feature: types
unexpected behavior
Bug: Unexpected behavior or incorrect output
Environment
Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
Target: x86_64-apple-darwin19.6.0
Additional Detail from JIRA
md5: d4b76e983a5cc88b174117153c157b83
Issue Description:
Given the following code:
The index store should contain a reference occurrence to the custom Array constructor. Specifically, the use of
[String]
literal notation is the problem here, aslet title = Array(title: "Title")
correctly relates the constructor.Full dependency graph is as follows:
The text was updated successfully, but these errors were encountered: