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 fdba938 commit 5457440Copy full SHA for 5457440
test/attr/global_actor.swift
@@ -45,7 +45,7 @@ struct GA6<T> { // expected-error{{type 'GA6<T>' does not conform to protocol 'G
45
}
46
47
extension GA6 where T: Equatable {
48
- static var shared: SomeActor { SomeActor() }
+ static var shared: SomeActor { SomeActor() } // expected-error{{candidate would match if 'T' conformed to 'Equatable'}}
49
50
51
@globalActor
0 commit comments