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
@@ -132,7 +132,7 @@ var f2 : (Int) -> Int = (+-+)
132
132
varf3:(inoutInt)->Int=(-+-) // expected-error{{ambiguous use of operator '-+-'}}
133
133
varf4:(inoutInt,Int)->Int=(+-+=)
134
134
varr5:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(+,-)
135
-
varr6:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(b :+, a :-)
135
+
varr6:(a :(Int,Int)->Int, b :(Int,Int)->Int)=(b :+, a :-) // expected-warning {{expression shuffles the elements of this tuple; this behavior is deprecated}}
0 commit comments