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/func/operator.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ var f2 : (Int) -> Int = (+-+)
155
155
varf3:(inoutInt)->Int=(-+-) // expected-error{{ambiguous use of operator '-+-'}}
156
156
varf4:(inoutInt,Int)->Int=(+-+=)
157
157
varr5:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(+,-)
158
-
varr6:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(b :+, a :-) // expected-warning {{expression shuffles the elements of this tuple; this behavior is deprecated}}
158
+
varr6:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(b :+, a :-) // expected-warning {{implicit reordering of tuple elements from 'b:a:' to 'a:b:' is deprecated}}
0 commit comments