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
func optionalInOut(x:inoutInt!){} // expected-warning{{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
267
-
// expected-warning@-1 {{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
267
+
// expected-note@-1 {{overloading by kind of optional is deprecated and will be removed in a future release}}
268
+
// expected-warning@-2 {{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
269
+
// expected-note@-3 {{overloading by kind of optional is deprecated and will be removed in a future release}}
classfunc optionalInOut(x:inoutInt!){} // expected-warning{{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
275
+
// expected-note@-1 {{overloading by kind of optional is deprecated and will be removed in a future release}}
276
+
// expected-warning@-2 {{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
277
+
// expected-note@-3 {{overloading by kind of optional is deprecated and will be removed in a future release}}
func optionalInOut(x:inoutInt!){} // expected-warning{{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
282
+
// expected-note@-1 {{overloading by kind of optional is deprecated and will be removed in a future release}}
283
+
// expected-warning@-2 {{invalid redeclaration of 'optionalInOut(x:)' which differs only by the kind of optional passed as an inout argument ('Int!' vs. 'Int?')}}
284
+
// expected-note@-3 {{overloading by kind of optional is deprecated and will be removed in a future release}}
0 commit comments