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
read2(UnsafePointer(p), maxLength:sizeof(T)) // expected-error {{cannot convert value of type 'UnsafePointer<_>' to expected argument type 'UnsafeMutablePointer<Void>' (aka 'UnsafeMutablePointer<()>')}}
812
+
}
813
+
}
814
+
815
+
func f23213302(){
816
+
vars=Set<Int>()
817
+
s.subtractInPlace(1) // expected-error {{cannot convert value of type 'Int' to expected argument type 'Set<Int>'}}
818
+
}
819
+
820
+
// <rdar://problem/24202058> QoI: Return of call to overloaded function in void-return context
821
+
func rdar24202058(a :Int){
822
+
return a <=480 // expected-error {{'<=' produces 'Bool', not the expected contextual result type '()'}}
0 commit comments