Skip to content

Commit a59a67a

Browse files
authored
Merge pull request #31787 from rintaro/ide-completion-rdar58470999
[CodeCompletion] Add an already-fixed crashing test case
2 parents a8c47de + 0e7e4ba commit a59a67a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
2+
3+
protocol P {
4+
func foo<T: P>(arg: T)
5+
}
6+
7+
func foo(x: P) {
8+
x.foo(arg: #^COMPLETE^#)
9+
}

0 commit comments

Comments
 (0)