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.
1 parent f74d6f7 commit 686655bCopy full SHA for 686655b
validation-test/compiler_crashers_2_fixed/0161-sr6569.swift
@@ -6,7 +6,7 @@ protocol P {
6
7
struct Type<Param> {}
8
extension Type: P where Param: P, Param.A == Type<Param> {
9
- // expected-error@-1 6{{extension of generic struct 'Type' has self-referential generic requirements}}
+ // expected-error@-1 8{{extension of generic struct 'Type' has self-referential generic requirements}}
10
// expected-note@-2 6{{through reference here}}
11
// expected-error@-3 {{type 'Type<Param>' does not conform to protocol 'P'}}
12
typealias A = Param
0 commit comments