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
structFoo{ // expected-note {{consider making struct 'Foo' conform to the 'Sendable' protocol}}
10
+
varinteger:Int
11
+
}
12
+
13
+
structBar:Sendable{
14
+
// FIXME: This warning should only be thrown in library evolution mode. If @usableFromInline is removed from Foo the Sendable conformance is synthesized as expected.
15
+
varfoo:Foo // expected-warning {{stored property 'foo' of 'Sendable'-conforming struct 'Bar' has non-sendable type 'Foo'}}
0 commit comments