Skip to content

Added missing cases for isTerminal that remove conditions from symbols in a grammar rule. - #3035

Open
PaulKlint wants to merge 1 commit into
mainfrom
fix/conditional-symbols
Open

PaulKlint wants to merge 1 commit into
mainfrom
fix/conditional-symbols

Conversation

@PaulKlint

Copy link
Copy Markdown
Member

Fixes: #2965

@sonarqubecloud

sonarqubecloud Bot commented Dec 4, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #3035   +/-   ##
=======================================
  Coverage       46%     46%           
- Complexity    6933    6934    +1     
=======================================
  Files          852     852           
  Lines        69363   69363           
  Branches     10112   10112           
=======================================
+ Hits         32173   32175    +2     
+ Misses       34756   34755    -1     
+ Partials      2434    2433    -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.

void collect(current:(Sym) `<Sym match> !\<\< <Sym symbol>`, Collector c){
c.calculate("notPrecede", current, [match, symbol],
AType(Solver s) {
println("isTerminal(<match>): <isTerminal(match)>");

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 debug print should be removed, but apart from that, looks good.

This branch has not been deployed

No deployments
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.

False positive in not-precede static check

2 participants