KeyPath causes a compiler crash on an existential root #60214
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)
SILGen
Area → compiler: The SIL generation stage
Describe the bug
KeyPath causes a compiler crash on an array of existentials while a normal closure doesn't
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both forms of
map
andsorted
should workEnvironment (please fill out the following information)
The text was updated successfully, but these errors were encountered: