Closed kosmikus closed 6 months ago
Added to the TODO list for my in-progress redesign, and fixed the most egregious bug for now.
But I don't see what's broken with the typed splices – do you have an example?
Thanks for the quick response. I think you're right that typed splices are fine, actually. I didn't have any top-level typed splices when I experienced the problem, so I couldn't observe that they're handled ok as they were occurring inside of typed quotations. But AFAICS, typed splices are indeed handled ok.
cool, thanks for the report!
GHC with
TemplateHaskell
allows typed quotations and splices, writtenand
or just
Looks like the tree-sitter parser currently handles this incorrectly, breaking syntax highlighting in rather substantial ways for files containing these constructs.
I looked briefly whether there's a very quick fix, but unfortunately it looks like this requires adapting the scanner.