Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the case where one of the alternative of an ambiguity is an emp… #2084

Open
wants to merge 1 commit into
base: feat/error-recovery
Choose a base branch
from

Conversation

PieterOlivier
Copy link
Contributor

Previously, when during error disambiguation one of the ambiguities consisted of an error tree with an empty "skipped" part (could only happen at the end of the file), that ambiguity was considered error-free. If there where other "regular" ambiguities in the ambiguity node, this node was not dropped as it should have been.

This PR fixes that.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49%. Comparing base (e523ce2) to head (2ce0092).
Report is 3 commits behind head on feat/error-recovery.

Additional details and impacted files
@@                  Coverage Diff                  @@
##             feat/error-recovery   #2084   +/-   ##
=====================================================
- Coverage                     49%     49%   -1%     
+ Complexity                  6604    6589   -15     
=====================================================
  Files                        685     685           
  Lines                      61145   61148    +3     
  Branches                    8850    8850           
=====================================================
- Hits                       30243   30223   -20     
- Misses                     28701   28722   +21     
- Partials                    2201    2203    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant