cannot reconstruct metatype of protocol composition existential #78802
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
demangling
Area → compiler: The `libswiftDemangling` library
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
protocol compositions
Feature → types: protocol composition types
regression
Swift 6.2-dev
types
Feature: types
Description
the test program below crashes on
swift-DEVELOPMENT-SNAPSHOT-2025-01-10
. this only happens when using-g
, which SwiftPM usesit also crashes on Fiddle
Reproduction
Stack dump
Expected behavior
this compiled successfully on the 6.0.3 release toolchain
Environment
$ /swift/swift-DEVELOPMENT-SNAPSHOT-2025-01-10-a-ubuntu24.04/usr/bin/swiftc --version
Swift version 6.2-dev (LLVM 81859ac55f8d09a, Swift 8ec8a12)
Target: x86_64-unknown-linux-gnu
Additional information
No response
The text was updated successfully, but these errors were encountered: