mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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