jonascarpay / calligraphy

haskell source code visualizer
BSD 3-Clause "New" or "Revised" License
98 stars 13 forks source link

Reject point spans #3

Closed jonascarpay closed 2 years ago

jonascarpay commented 2 years ago

Fixes #2

I think it's safe to outright reject all nodes that have a point span (zero width). The LexTree doesn't (currently) support them, and we reject generated code in other places as well. Nothing but headaches.