Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer
Erik Eckstein fb80d0349c Optimizer: fix handling of dependent existential archetypes in alloc_stack and apply simplification
When replacing an opened existential type with the concrete type, we didn't consider that the existential archetype can also be a "dependent" type of the root archetype.
For now, just bail in this case. In future we can support dependent archetypes as well.

Fixes a compiler crash.
rdar://158594365
2025-08-28 07:17:54 +02:00
..