Skip to content

Commit 55fdb6c

Browse files
committed
[TypeChecker] NFC: Adjust test-case that now prints a generic parameter instead of a hole
1 parent 9a58455 commit 55fdb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Generics/where_clause_contextually_generic_decls.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func testProtocolExtensions<T1, T2, T3, T4>(t1: T1, t2: T2, t3: T3, t4: T4)
5353
T2: Whereable & Sequence,
5454
T3: Whereable, T3.Assoc == T3.Bssoc,
5555
T4: Whereable, T4.Assoc: Whereable {
56-
_ = T1.staticExtensionFunc // expected-error {{cannot reference static method 'staticExtensionFunc(arg:)' on 'Whereable.Protocol' with non-conforming result type '_.Element'}}
56+
_ = T1.staticExtensionFunc // expected-error {{cannot reference static method 'staticExtensionFunc(arg:)' on 'Whereable.Protocol' with non-conforming result type 'T1.Element'}}
5757
_ = T2.staticExtensionFunc
5858

5959
t1.extensionFunc() // expected-error {{instance method 'extensionFunc()' requires the types 'T1.Assoc' and 'T1.Bssoc' be equivalent}}

0 commit comments

Comments
 (0)