[SR-11684] Property wrapper crash when property is optional and wrappedValue is non-optional #54093
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
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.1.1-dev (Swift dfd805f)
Target: x86_64-apple-darwin19.0.0
Additional Detail from JIRA
md5: 15265c04cd92b2cd8374532b30c07d29
Issue Description:
This code crashes after emitting diagnostics:
with the following stack trace:
Also, some of the diagnostics are completely wrong, but that's a separate issue.
The text was updated successfully, but these errors were encountered: