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
// FIXME: We need to emit a better diagnostic than the failure to convert Never to opaque.
178
+
func noReturnStmts()->someP{fatalError()} // expected-error{{cannot convert return expression of type 'Never' to return type 'some P'}} expected-error{{no return statements}}
178
179
179
180
func mismatchedReturnTypes(_ x:Bool, _ y:Int, _ z:String)->someP{ // expected-error{{do not have matching underlying types}}
0 commit comments