miniblog.
← Back to all posts
Wilfred Hughes
Nov 15, 2021 at 00:50
Wowza, I reported a bug to the Haskell tree-sitter parser and a maintainer merged a fix in under an hour!
https://github.com/tree-sitter/tree-sitter-haskell/issues/48
Comment parsing consumes blank lines before · Issue #48 · tree-sitter/tree-sitter-haskell
foo x = x + 1 -- Hello world bar y = y + 1 The position of the comment here covers all the preceding blank lines.