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-12749] [C++] Import C++ const methods as non-mutating #55194

Open
swift-ci opened this issue May 7, 2020 · 1 comment
Open

[SR-12749] [C++] Import C++ const methods as non-mutating #55194

swift-ci opened this issue May 7, 2020 · 1 comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself new feature

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented May 7, 2020

Previous ID SR-12749
Radar rdar://problem/83465938
Original Reporter hlopko (JIRA User)
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature, CxxInterop
Assignee None
Priority Medium

md5: 9b0656a62c4dad4b01dabcb07b5b7ec5

is duplicated by:

  • SR-12795 Can't call const C++ method on let constant

Issue Description:

Right now we import all C++ methods as 'mutating'. We should not opt C++ const methods into 'mutating'.

Failing test: https://github.com/hlopko/swift/tree/const-methods

@zoecarver
Copy link
Collaborator

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself new feature
Projects
None yet
Development

No branches or pull requests

2 participants