swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.6k stars 10.37k forks source link

Use common code paths for constructor concurrency prologs #77600

Closed rjmccall closed 2 days ago

rjmccall commented 2 days ago

…if we're not in the async self-isolated actor initializer case.

Fixes rdar://138394497 and #71174, bugs where we didn't set up isolation correctly for an async parameter-isolated initializer, but also probably a non-trivial number of other latent differences between initializers and normal functions.

rjmccall commented 2 days ago

@swift-ci Please test