[cxx-import] a Swift module that imports a C++ module and forces the client to enable interop produces unclear diagnostic #65833
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
triage needed
This issue needs more specific labels
Right now when a Swift module A enables interoperability and imports a C++ module
cxxmod
, and Swift module B that consumes it doesn't, the compiler will fail to compile B with the following error:The diagnostic should be improved to be more clear that the client needs to enable interoperability.
The text was updated successfully, but these errors were encountered: