Assertion `member->getDeclContext() == nominal && "Added member to the wrong context"' failed when using CXX interop #65646
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
c++ to swift
Feature → c++ interop: c++ to swift
clang importer
Area → compiler: The clang importer
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
swift 5.9
type checker
Area → compiler: Semantic analysis
Description
When trying to import RmlUi from Swift using CXX interop, compilation crashes with the following error:
It seems to come from this header file.
Steps to reproduce
rmlui.pc
somewhere in plg-config pathExpected behavior
The compiler does not crash.
Environment
Target: x86_64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: