Skip to content

[cxx-interop] Fix test/Interop/Cxx/stdlib/use-std-string.swift #58637

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

Merged
merged 1 commit into from
May 4, 2022

Conversation

egorzhdan
Copy link
Contributor

Temporarily disable the checks for mutable fields in a C++ struct. A better solution would be to use some heuristic to detect if a method mutates a mutable field, and allow the user to adjust mutability with the existing nonmutating annotation.

This test was disabled in #58622.

rdar://92621793

@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label May 3, 2022
@egorzhdan egorzhdan force-pushed the egorzhdan/cxx-fix-use-string branch from 8ef1baf to 82ff680 Compare May 3, 2022 12:50
Temporarily disable the checks for mutable fields in a C++ struct. A better solution would be to use some heuristic to detect if a method mutates a mutable field, and allow the user to adjust mutability with the existing `nonmutating` annotation.

rdar://92621793
@egorzhdan egorzhdan force-pushed the egorzhdan/cxx-fix-use-string branch from 82ff680 to 7db3666 Compare May 3, 2022 15:37
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test macOS

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test Linux

@egorzhdan egorzhdan merged commit 7042fb5 into main May 4, 2022
@egorzhdan egorzhdan deleted the egorzhdan/cxx-fix-use-string branch May 4, 2022 13:20
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++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant