We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c3e96 commit f60f500Copy full SHA for f60f500
test/ClangImporter/objc_async_conformance.swift
@@ -22,7 +22,7 @@ extension C2 {
22
// a version of C2 that requires both sync and async methods (differing only by
23
// completion handler) in ObjC, is not possible to conform to with 'async' in
24
// a Swift protocol
25
-class C3 : NSObject, RequiredObserver {}
+class C3 : NSObject, RequiredObserver {} // expected-error {{type 'C3' does not conform to protocol 'RequiredObserver'}}
26
extension C3 {
27
func hello() -> Bool { true } // expected-note {{'hello()' previously declared here}}
28
func hello() async -> Bool { true } // expected-error {{invalid redeclaration of 'hello()'}}
0 commit comments