swift
6487b433 - [ASTMangler] Restore `stripConcurrency` behavior for `@preconcurrency` declarations

Commit
20 days ago
[ASTMangler] Restore `stripConcurrency` behavior for `@preconcurrency` declarations This is a follow-up to https://github.com/swiftlang/swift/pull/86557 When mangling a `@preconcurrency` declaration, `dropGlobalActor` is set to `true`, and the original condition behind that used to remove isolation from function types regardless of whether the function type was actually global-actor isolated or not. We need to maintain this behavior for mangling or risk breaking ABI for the existing declarations that had isolation like `@isolated(any)`.
Author
Parents
Loading