[SR-10308] EXC_BAD_ACCESS crash when capturing self weakly in a convenience initializer #52708
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
Environment
Xcode Version 10.2 (10E125) / Swift 5.0
macOS version 10.14.4 (18E226)
Additional Detail from JIRA
md5: b46c020e08aba8bae2389a3ca0cb2b74
Issue Description:
The following code causes a crash at runtime, but compiles fine:
The text was updated successfully, but these errors were encountered: