Using P.self on private @objc protocol with custom ObjC name causing crash. #74546
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
@objc
Feature → attributes: The @objc attribute
objective-c interop
Feature: Interoperability with Objective-C
protocol
Feature → type declarations: Protocol declarations
runtime
The Swift Runtime
swift 6.0
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
The text was updated successfully, but these errors were encountered: