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
// expected-warning@+4 {{non-sendable type 'CoffeeTrackerView' passed in implicitly asynchronous call to main actor-isolated property 'body' cannot cross actor boundary}}
43
43
// expected-note@+3 {{property access is 'async'}}
44
44
// expected-warning@+2 {{non-sendable type 'some View' in implicitly asynchronous access to main actor-isolated property 'body' cannot cross actor boundary}}
45
-
// expected-error@+1 {{expression is 'async' but is not marked with 'await'}}
45
+
// expected-warning@+1 {{expression is 'async' but is not marked with 'await'}}
46
46
_ = view.body
47
47
48
48
// expected-warning@+4 {{non-sendable type 'CoffeeTrackerView' passed in implicitly asynchronous call to main actor-isolated property 'showDrinkList' cannot cross actor boundary}}
49
49
// expected-note@+3 {{property access is 'async'}}
50
50
// expected-warning@+2 {{non-sendable type 'Visibility' in implicitly asynchronous access to main actor-isolated property 'showDrinkList' cannot cross actor boundary}}
51
-
// expected-error@+1 {{expression is 'async' but is not marked with 'await'}}
51
+
// expected-warning@+1 {{expression is 'async' but is not marked with 'await'}}
52
52
_ = view.showDrinkList
53
53
54
54
// expected-warning@+2 {{non-sendable type 'CoffeeTrackerView' passed in implicitly asynchronous call to main actor-isolated property 'storage' cannot cross actor boundary}}
0 commit comments