Skip to content

Commit 29a17d5

Browse files
authored
Merge pull request swiftlang#28110 from benlangmuir/diag-foo
Update diagnostic after CS change
2 parents ef389cb + 67592db commit 29a17d5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

validation-test/Sema/type_checker_perf/fast/rdar21374729.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ protocol P {
77
}
88

99
class R<T> : P where T : P, T.A == T.Type {
10-
// expected-note@-1 {{'T' declared as parameter to type 'R'}}
1110
typealias A = T.Type
1211
static func fn(args: T.Type) {}
1312
}
1413

1514
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}}
15+
// expected-error@-1 {{type of expression is ambiguous without more context}}

0 commit comments

Comments
 (0)