Open
Description
Previous ID | SR-13792 |
Radar | rdar://problem/70820224 |
Original Reporter | Leitch (JIRA User) |
Type | New Feature |
Additional Detail from JIRA
Votes | 0 |
Component/s | Source Tooling |
Labels | New Feature |
Assignee | Leitch (JIRA) |
Priority | Medium |
md5: 0896b2e76fc58c37c42a995dde600eea
Issue Description:
Given the following code:
extension String.StringInterpolation {
mutating func appendInterpolation(test value: Int) {
appendInterpolation(value)
}
}
public struct Fixture112 {
public func someFunc() {
print("test: \(test: 1)")
}
}
The index store could include a relation from the someFunc()
occurrence to appendInterpolation(test:)
. For the purposes of identifying unused code, it's not currently possible to identify that appendInterpolation(test:)
is used in the string interpolation.
Metadata
Metadata
Assignees
Labels
Area → standard library: The `String` typeFeature: expressionsA feature request or implementationArea → source tooling: AST indexingFeature → expressions → literals → string literals: interpolated stringsFeature → expressions: Literals such as an integer or string literalArea: IDE support, SourceKit, and other source toolingFeature → expressions → literals: String literals