mirror of
https://github.com/apple/swift.git
synced 2026-10-12 14:50:47 +02:00
13 lines
507 B
Swift
13 lines
507 B
Swift
// {"kind":"typecheck","original":"553ea614","signature":"(anonymous namespace)::MultiConformanceChecker::checkAllConformances()","signatureAssert":"Assertion failed: (getKind() == ActorInstance), function isActorInstanceForSelfParameter","signatureNext":"TypeChecker::checkConformancesInContext"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@globalActor actor a {
|
|
static shared =
|
|
class b
|
|
protocol c {
|
|
f: b
|
|
func g(b )
|
|
}
|
|
actor d: c {
|
|
f: b
|
|
@a func g(e: b
|