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
macOS 11.2.3 (20D91), Xcode 12.5 (12E262), Swift 5.4. Tested against the macOS and iOS SDKs.
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: 30a944d33c97dc065fe3bd3855122b39
Issue Description:
When building a framework with library evolution (edit: or even without evolution, so long as a module interface is emitted), publicly visible declarations involving the Objective-C Protocol class crash the compiler. For example:
publicfunc foo(_:Protocol){}
This appears to be a regression in Swift 5.4. I couldn't reproduce the crash as of Swift Development Snapshot 2021-04-18 (a), however I'm not sure whether that's because the regression has been patched or whether it was introduced in a commit that the snapshot doesn't contain.
I've attached a sample Xcode project demonstrating the issue, as well as a backtrace.
The text was updated successfully, but these errors were encountered:
Yeah, this seems to be fixed on main. Marking this as resolved.
The snapshot should contain all the commits present in Swift 5.4; additional changes are first made on main and cherry-picked onto 5.4 (after the branch is cut) if needed.
Attachment: Download
Environment
macOS 11.2.3 (20D91), Xcode 12.5 (12E262), Swift 5.4. Tested against the macOS and iOS SDKs.
Additional Detail from JIRA
md5: 30a944d33c97dc065fe3bd3855122b39
Issue Description:
When building a framework with library evolution (edit: or even without evolution, so long as a module interface is emitted), publicly visible declarations involving the Objective-C Protocol class crash the compiler. For example:
This appears to be a regression in Swift 5.4. I couldn't reproduce the crash as of Swift Development Snapshot 2021-04-18 (a), however I'm not sure whether that's because the regression has been patched or whether it was introduced in a commit that the snapshot doesn't contain.
I've attached a sample Xcode project demonstrating the issue, as well as a backtrace.
The text was updated successfully, but these errors were encountered: