Open WeZZard opened 2 months ago
Thanks for the report. The issue is that the compiler emits a mangled name with a private declaration on it, something like the encoding of __C.(MyName in _1AECFD08E409979057FF235F763A1E9D)
. The runtime doesn't expect this and the lookup fails. I'll get this to the right person. As a workaround, making the protocol internal
avoids emitting the bad mangled name.
Description
Running the following code on Xcode 15.0 and 16.0 causing a runtime crash.
a
can be evaluated in LLDB. However, it's 0x0 when evaluated in assembly mode.Reproduction
Stack dump
Expected behavior
Printing "MyObjCProtocol"
Environment
Xcode 15.0 Xcode 16.0
Additional information
No response