Files
swift-mirror/test/SourceKit/Refactoring/semantic-refactoring/local-rename.swift.expected
Nathan Hawes c4e87f0861 [Refactoring] Fix local rename missing occurrences in string interpolations
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.
2017-11-17 20:16:59 -08:00

9 lines
187 B
Plaintext

source.edit.kind.active:
2:7-2:9 "new_name"
source.edit.kind.active:
3:3-3:5 "new_name"
source.edit.kind.active:
3:8-3:10 "new_name"
source.edit.kind.active:
4:17-4:19 "new_name"