SILGen crash with propertyWrapper on an implicitly initialized property #65562
Labels
assertion failure
Bug → crash: An assertion failure
attributes
Feature: Declaration and type attributes
@autoclosure
Feature → attributes: the @autoclosure type attribute
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
duplicate
Resolution: Duplicates another issue
property wrappers
Feature: property wrappers
SILGen
Area → compiler: The SIL generation stage
swift 5.9
Description
Swift hits an assert in some cases when using
propertyWrappers
. This is very similar to #58201 which I previously reported, but I found a different assert when@escaping
is left out.Steps to reproduce
Try to compile the following
Expected behavior
The compiler should not crash
Environment
The text was updated successfully, but these errors were encountered: