Closed
Description
RIght now when a Swift module A enables interoperability and imports Cxxstdlib
, and Swift module B that consumes it doesn't, the compiler will fail to compile B with the following error:
<unknown>:0: error: cannot load underlying module for 'CxxStdlib'
This diagnostic should be improved, and should suggest to the user to enable C++ interoperability.
Metadata
Metadata
Assignees
Labels
A deviation from expected or documented behavior. Also: expected but undesirable behavior.Feature: Interoperability with C++Feature → c++ interop: c++ to swiftThe Swift compiler itselfBug: Diagnostics Quality of ImplementationFlag: An issue whose reproduction requires multiple modulesArea → compiler: Serialization & deserialization