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-15811] [cxx-interop] Calling methods with multiple non-trivial parameters causes a crash. #58088

Open
zoecarver opened this issue Feb 2, 2022 · 1 comment
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself good first issue Good for newcomers

Comments

@zoecarver
Copy link
Collaborator

Previous ID SR-15811
Radar None
Original Reporter @zoecarver
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CxxInterop, StarterBug
Assignee @zoecarver
Priority Medium

md5: fcd401452ed8e997d62f088bdc94afdc

Issue Description:

Assertion failed: (arg.hasLValueType() == param.isIndirectInOut()), function emit, file swift/lib/SILGen/SILGenApply.cpp, line 2894.

For an easy reproducer, look at test/Interop/Cxx/class/method/methods.swift.

@swift-ci
Copy link
Collaborator

Comment by Corban Amouzou (JIRA)

I just ran the tests for this, I could not reproduce the issue described here, in fact, all the method tests passed. I'm not sure if this is outdated, or a fix landed, but if so, I think we can mark this as resolved.

@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
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++ compiler The Swift compiler in itself good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants