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

Fix overloaded case diagnostic #152

Closed stephencelis closed 6 months ago

stephencelis commented 6 months ago

It is currently applied to code that has been rewritten, which breaks the Xcode integration and hides the error. By delaying the rewriting, we can restore the position of the error when it's emitted.