[SR-11068] Setting a property with @Published in UITableView didSelect method makes Swift compiler crashes #53460
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
property wrappers
Feature: property wrappers
SILGen
Area → compiler: The SIL generation stage
Attachment: Download
Environment
Xcode 11 beta 3. macOS Mojave 10.14.5
Additional Detail from JIRA
md5: aedca83130394f4c28429c8e3be6061e
Issue Description:
I have a UITableViewController subclass which has a @published property. This class override the `func tableView(_:didSelectRowAt🙂` method and set a value of the @published property in this method.
This scenario makes the Swift compiler to crash with `Segmentation fault: 11`
I attached a reproducible project
The text was updated successfully, but these errors were encountered: