Compiler crash: Unhandled coercion #65189
Labels
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
existential member accesses
Feature → existentials: existential member accesses
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
type checker
Area → compiler: Semantic analysis
Description
Attempting to access a member of an existential crashes.
Steps to reproduce
Please run this code:
This produces the following crash in a playground:
Environment
swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
Xcode 14.3
Build version 14E222b
Also note, filed with more information here: FB12117149
The text was updated successfully, but these errors were encountered: