[SR-11893] Compiler crash on unwrapped IUO key path member used in dynamic lookup #54310
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
key paths
Feature: key paths (both native and Objective-C)
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.1.2-dev (Swift b7537cf)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 57572def123cc8edaca1b0ba24ddcd72
Issue Description:
The following hits an assertion in SILGen:
And in a no-asserts build it miscompiles:
The text was updated successfully, but these errors were encountered: