Skip to content

Commit f80af06

Browse files
committed
---
yaml --- r: 347030 b: refs/heads/master c: fdafc1b h: refs/heads/master
1 parent fd87717 commit f80af06

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e9a456ce5f7191f5b067c444367534c63e032596
2+
refs/heads/master: fdafc1b7428f976cddeead975cd5f5b4d7ccbb0a
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/IDE/complete_override.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
// RUN: %target-swift-ide-test -enable-objc-interop -code-completion -source-filename %s -code-completion-token=OMIT_KEYWORD9_LET -code-completion-keywords=false | %FileCheck %s -check-prefix=OMIT_KEYWORD4
111111
// RUN: %target-swift-ide-test -enable-objc-interop -code-completion -source-filename %s -code-completion-token=OMIT_KEYWORD10 -code-completion-keywords=false | %FileCheck %s -check-prefix=WITH_PA_NO_PROTOFUNCA
112112

113+
// RUN: %target-swift-ide-test -enable-objc-interop -code-completion -source-filename %s -code-completion-token=SR2560_WHERE_CLAUSE -code-completion-keywords=false | %FileCheck %s -check-prefix=SR2560_WHERE_CLAUSE
113114
// RUN: %target-swift-ide-test -enable-objc-interop -code-completion -source-filename %s -code-completion-token=HAS_THROWING -code-completion-keywords=false | %FileCheck %s -check-prefix=HAS_THROWING
114115
// RUN: %target-swift-ide-test -enable-objc-interop -code-completion -source-filename %s -code-completion-token=ASSOC_TYPE1 -code-completion-keywords=false | %FileCheck %s -check-prefix=ASSOC_TYPE1
115116

@@ -523,6 +524,17 @@ class OmitKW10: ProtocolA {
523524
// WITH_PA
524525
}
525526

527+
protocol SR2560Proto {
528+
func foo<S : Sequence>(x: S) where S.Iterator.Element == Int
529+
}
530+
class SR2560Class: SR2560Proto {
531+
#^SR2560_WHERE_CLAUSE^#
532+
}
533+
534+
// SR2560_WHERE_CLAUSE: Begin completions
535+
// SR2560_WHERE_CLAUSE: Decl[InstanceMethod]/Super: func foo<S>(x: S) where S : Sequence, S.Element == Int {|};
536+
// SR2560_WHERE_CLAUSE: End completions
537+
526538
protocol HasThrowingProtocol {
527539
func foo() throws
528540
}

0 commit comments

Comments
 (0)