mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
NameMatcher checked if a StringLiteralExpr was a string segment in an interpolated string by checking if the parent expression was an InterpolatedStringLiteralExpr. That's only true pre-type-checking, and unlike global rename, local rename uses the type-checked AST.
27 lines
583 B
Plaintext
27 lines
583 B
Plaintext
source.edit.kind.active:
|
|
7:6-7:9 "bar"
|
|
7:10-7:11 "first"
|
|
source.edit.kind.active:
|
|
17:17-17:20 "bar"
|
|
17:21-17:22 "first"
|
|
source.edit.kind.active:
|
|
18:17-18:20 "bar"
|
|
source.edit.kind.string:
|
|
22:12-22:15 "bar"
|
|
source.edit.kind.selector:
|
|
23:19-23:22 "bar"
|
|
23:23-23:24 "first"
|
|
source.edit.kind.selector:
|
|
24:19-24:22 "bar"
|
|
source.edit.kind.selector:
|
|
25:19-25:22 "bar"
|
|
source.edit.kind.string:
|
|
26:17-26:20 "bar"
|
|
source.edit.kind.active:
|
|
26:23-26:26 "bar"
|
|
26:27-26:28 "first"
|
|
source.edit.kind.string:
|
|
26:33-26:36 "bar"
|
|
source.edit.kind.string:
|
|
26:43-26:46 "bar"
|