We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef389cb + 67592db commit 29a17d5Copy full SHA for 29a17d5
validation-test/Sema/type_checker_perf/fast/rdar21374729.swift
@@ -7,11 +7,9 @@ protocol P {
7
}
8
9
class R<T> : P where T : P, T.A == T.Type {
10
- // expected-note@-1 {{'T' declared as parameter to type 'R'}}
11
typealias A = T.Type
12
static func fn(args: T.Type) {}
13
14
15
R.fn(args: R.self)
16
-// expected-error@-1 {{generic parameter 'T' could not be inferred}}
17
-// expected-note@-2 {{explicitly specify the generic arguments to fix this issue}}
+// expected-error@-1 {{type of expression is ambiguous without more context}}
0 commit comments