pointfreeco / swift-case-paths

🧰 Case paths extends the key path hierarchy to enum cases.
https://www.pointfree.co/collections/enums-and-structs/case-paths
MIT License
904 stars 105 forks source link

Open existentials sent to `PartialCaseKeyPath.callAsFunction` #145

Closed stephencelis closed 7 months ago

stephencelis commented 7 months ago

Currently, sending an Any value to PartialCaseKeyPath.callAsFunction will always fail because the existential isn't opened. This should fix that.