nvim-treesitter/runtime/queries/haskell
Christian Clason d6ebbd5039 fix(haskell): correct use of supertypes in (decl) patterns
Problem: These patterns were impossible, since children need to be children of
every subtype of a supertype to be captured in this way. As subtypes
could appear as children themselves, the query code silently "skipped
over" the supertype restriction in the pattern. This was fixed in
tree-sitter v0.26.0, which now (correctly) flags these patterns as
"impossible".

Solution: Add the appropriate child nodes explicitly.
2025-11-25 10:28:33 +01:00
..
folds.scm feat!: drop modules, general refactor and cleanup 2025-05-12 18:43:40 +02:00
highlights.scm fix(haskell): correct use of supertypes in (decl) patterns 2025-11-25 10:28:33 +01:00
injections.scm fix(haskell): properly set inline-python injection language 2025-05-27 14:17:05 +02:00
locals.scm feat!: drop modules, general refactor and cleanup 2025-05-12 18:43:40 +02:00