protocol P: Actor { nonisolated func foo() func bar() } actor A: P { // NG // func foo() {} nonisolated func foo() {} // OK func bar() {} }
P: AnyActor
P: Actor