Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14965] [C++-Interop] (dupe) crash with deserialization of 'ReferenceConvertible' with ObjC & C++ Interop enabled #57307

Open
Tracked by #57304
swift-ci opened this issue Jul 23, 2021 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ c++ to swift Feature → c++ interop: c++ to swift compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software objective-c interop Feature: Interoperability with Objective-C serialization Area → compiler: Serialization & deserialization

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Jul 23, 2021

Previous ID SR-14965
Radar rdar://problem/83361434
Original Reporter plotfi (JIRA User)
Type Sub-task
Additional Detail from JIRA
Votes 0
Component/s
Labels Sub-task, CxxInterop
Assignee None
Priority Medium

md5: 2792f064df77f9149e4c31c73b57ae4f

Parent-Task:

Issue Description:

This is a dupe of #57306

but the code is slightly different.

C++ (header):

// Module MyModule (MyModule.h)
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
struct S { bool operator==(const S& rhs); };
NS_ASSUME_NONNULL_END

Swift:

import MyModule
let a = S()
let b = S()
let eq = (a == b)
@zoecarver
Copy link
Contributor

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@zoecarver zoecarver added c++ interop Feature: Interoperability with C++ and removed CxxInterop labels Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added compiler The Swift compiler in itself c++ to swift Feature → c++ interop: c++ to swift serialization Area → compiler: Serialization & deserialization crash Bug: A crash, i.e., an abnormal termination of software bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. objective-c interop Feature: Interoperability with Objective-C labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ c++ to swift Feature → c++ interop: c++ to swift compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software objective-c interop Feature: Interoperability with Objective-C serialization Area → compiler: Serialization & deserialization
Projects
None yet
Development

No branches or pull requests

3 participants