Files
swift-mirror/test/SourceKit/Refactoring/semantic-refactoring/extract-func.swift.expected
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

13 lines
316 B
Plaintext

source.edit.kind.active:
1:1-1:1 "fileprivate func new_name() -> Int {
var a = 3
a = a + 1
return 1
}
"
<note>source.refactoring.range.kind.basename 1:18-1:26 "new_name"</note>
source.edit.kind.active:
2:3-4:11 "return new_name()"
<note>source.refactoring.range.kind.basename 1:8-1:16 "new_name"</note>