swift
43399bad
- Make sure we propagate `@preconcurrency` to closures consistently.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
Make sure we propagate `@preconcurrency` to closures consistently. The type checker is now permitting `@Sendable` closures whose captures can be by-reference, because we do not error. Remove an aspirational SIL verifier check that banned this.
References
#59849 - [Constraint solver] Don't adjust types in calls to @preconcurrency functions
Author
DougGregor
Committer
DougGregor
Parents
218a3f79
Loading