Files
swift-mirror/test/refactoring/SyntacticRename/Outputs/init.swift.expected
Alex Hoppen 4103ad8cea [SourceKit] Change tests to use find-rename-ranges instead of syntactic-rename
I will remove the `syntactic-rename` refactoring action in a follow-up commit. Clients should always ask for rename ranges and perform the rename by themselves instead of asking for a renamed file.
2023-11-15 11:20:27 -08:00

13 lines
500 B
Plaintext

struct Test {
var base: Int
/*test:def*/<keywordBase>init</keywordBase>(<arglabel index=0>base</arglabel><param index=0></param>: Int) {}
}
_ = /*test:call*/Test(<callarg index=0>base</callarg><callcolon index=0>: </callcolon>3)
_ = Test . /*test:call*/<keywordBase>init</keywordBase>(<callarg index=0>base</callarg><callcolon index=0>: </callcolon>3)
_ = Test . /*test:ref*/<keywordBase>init</keywordBase>
_ = Test . /*test:ref*/<keywordBase>init</keywordBase>(<sel index=0>base</sel>:)