Can anyone tell me why this code crashes on iOS 15 when Approachable Concurrency is enabled?

```
struct MyModifier: ViewModifier {
var perform: () async -> Void

func body(content: Content) -> some View {
content
}
}

struct ContentView: View {
var body: some View {
Text("Hello, world!")
.modifier(MyModifier(perform: {}))
}
}
```

Marking the perform closure in MyModifier as concurrent or MainActor stops it crashing.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/ryanbooker/statuses/115879473836818998 on your instance and quote it. (Note that quoting is not supported in Mastodon.)