Commit Graph

4 Commits

Author SHA1 Message Date
Christian Clason
bb83a67612 fix(fsharp): correct use of supertypes in (_type) 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-19 11:03:04 +01:00
Riley Bruins
77362027f7 fix: remove redundant alternants (#8159) 2025-09-28 18:39:09 -07:00
Christian Clason
864e75a85d fix(c,cpp,fsharp,idl,powershell,sql,systemtap): remove unneeded escapes 2025-05-13 18:12:58 +02:00
Christian Clason
692b051b09 feat!: drop modules, general refactor and cleanup 2025-05-12 18:43:40 +02:00