fix(deps): update module github.com/odvcencio/gotreesitter to v0.20.9#186
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #186 +/- ##
==========================================
- Coverage 83.54% 83.52% -0.03%
==========================================
Files 287 287
Lines 23204 23204
==========================================
- Hits 19386 19380 -6
- Misses 2652 2656 +4
- Partials 1166 1168 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
v0.20.8→v0.20.9Release Notes
odvcencio/gotreesitter (github.com/odvcencio/gotreesitter)
v0.20.9Compare Source
Patch release recovering C# large-namespace method/type declarations and the Swift ternary/conditional operator, both via post-parse source recovery passes, plus a CI stability fix.
Fixed
JsonTextReader.cs/JsonReader.cs) now recover theirmethod_declarationnodes instead of yielding only a comment-filled namespace shell. Namespace recovery now falls back, when the child-based pass surfaces no method, to a per-member bounded source reconstruction.JsonTextReader.csnow recovers 68 methods (was 0) andJsonReader.cs41 (was 0). Fixes #136 (#138). Thanks @richardwooding for the report, repro, and the fix.cond ? a : b) now recovers instead of dropping? a : binto anERRORnode in every position — previously any function containing a ternary lost its whole parse. A post-parse recovery pass reconstructs theternary_expressionnode by reparsing the source with the? if_true : if_falsetail blanked so the condition parses in place, then splicing a synthesised node back in with the upstreamcondition/if_true/if_falselayout. The rewrite is accepted only when the result is error-free and byte-faithful, so non-ternary code is never affected. Fixes #135 (#137). Thanks @richardwooding for the report and the fix.CI
TestCSharpLargeShreddedNamespaceRecoversMethodsnow skips undergo test -race: the per-member bounded recovery reparses each class member as its own small GLR parse, which normally finishes well inside the parser's timeout budget, but race-detector instrumentation slows the same work enough to trip the parser's internal wall-clock timeout. Non-race coverage keeps the full recovery assertions.Looking ahead
A root-cause fix for Swift's grammar (native ternary parsing via a regenerated grammar blob/table, rather than a post-parse recovery pass) is in progress on the parser-generalization campaign branch and will ship in a future release.
Full Changelog: odvcencio/gotreesitter@v0.20.8...v0.20.9
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.