You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/decl/typealias/protocol.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@ extension P10 {
268
268
typealiasU=Float
269
269
}
270
270
271
-
extensionP10where T ==Int{} // expected-warning{{neither type in same-type constraint ('Self.T' (aka 'Int') or 'Int') refers to a generic parameter or associated type}}
271
+
extensionP10where T ==Int{} // expected-warning{{neither type in same-type constraint ('Int' or 'Int') refers to a generic parameter or associated type}}
272
272
273
273
extensionP10where A ==X<T>{}
274
274
@@ -277,7 +277,7 @@ extension P10 where A == X<U> { }
277
277
extensionP10where A ==X<Self.U>{}
278
278
279
279
extensionP10where V ==Int{} // expected-warning {{'V' is deprecated: just use Int, silly}}
280
-
// expected-warning@-1{{neither type in same-type constraint ('Self.V' (aka 'Int') or 'Int') refers to a generic parameter or associated type}}
280
+
// expected-warning@-1{{neither type in same-type constraint ('Int' or 'Int') refers to a generic parameter or associated type}}
0 commit comments