Skip to content

Conversation

theory
Copy link
Owner

@theory theory commented Oct 14, 2025

Add lex.scanBlankSpace() to the loop in Parser.parseLogicalAndExpr so that multiple consecutive && comparison expressions delimited by blank spaces will be properly parsed. Add tests to ensure that the multiple consecutive || comparison expressions are also properly parsed. Thanks @jarangutan for the report and @jg-rp for the analysis. Resolves #24.

@theory theory self-assigned this Oct 14, 2025
@theory theory added the bug Something isn't working label Oct 14, 2025
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ac67e0a) to head (5228068).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         1985      1986    +1     
=========================================
+ Hits          1985      1986    +1     

☔ View full report in Codecov by Sentry.
📢 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.

Add `lex.scanBlankSpace()` to the loop in `Parser.parseLogicalAndExpr`
so that multiple consecutive `&&` comparison expressions delimited by
blank spaces will be properly parsed. Add tests to ensure that the
multiple consecutive `||` comparison expressions are also properly
parsed. Thanks @jarangutan for the report and @jg-rp for the analysis.
Resolves #24.
@theory theory merged commit 5228068 into main Oct 14, 2025
12 checks passed
@theory theory deleted the issue-24 branch October 14, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter with 2+ consecutive '&&' operators returns parsing error

1 participant