Skip to content

Added missing "aempty" in various places - #2864

Open
PaulKlint wants to merge 3 commits into
mainfrom
fix/missing-empty
Open

Added missing "aempty" in various places#2864
PaulKlint wants to merge 3 commits into
mainfrom
fix/missing-empty

Conversation

@PaulKlint

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (805dc0d) to head (b2dcaba).

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #2864   +/-   ##
=======================================
- Coverage       46%     46%   -1%     
- Complexity    6767    6769    +2     
=======================================
  Files          844     844           
  Lines        67096   67096           
  Branches     10021   10021           
=======================================
- Hits         30881   30880    -1     
  Misses       33838   33838           
- Partials      2377    2378    +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

when r is \achar-class || r is aempty || r is seq || r is opt || r is alt || r is iter || r is \iter-star || r is \iter-seps || r is \iter-star-seps;
AType alub(AType l, r:aadt("Tree", _, _)) = r
when l is \achar-class || l is seq || l is opt || l is alt || l is iter || l is \iter-star || l is \iter-seps || l is \iter-star-seps;
when l is \achar-class || r is aempty || l is seq || l is opt || l is alt || l is iter || l is \iter-star || l is \iter-seps || l is \iter-star-seps;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be l is aempty (instead of r). Perhaps this whole disjunction could be a predicate?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very sharp! And you are right a predicate is better. Thanks.

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants