[SR-7905] Crash when wrapping objc value in swift enum #50440
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
Attachment: Download
Additional Detail from JIRA
md5: 1761e50f052c28a2d5c143c2b61f9d40
Issue Description:
The attached sample project reproduces a crash on swift_unknownRelease when a value created in objective-c is wrapped in an enum in swift. Moving the objective-c code to swift seems to fix the crash.
To reproduce, build and run the sample project using Xcode 10 on the iPhone X simulator.
The text was updated successfully, but these errors were encountered: