Skip to content

GROOVY-11601: remove support for expression list in for-each statement #2174

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eric-milles
Copy link
Member

@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.8764%. Comparing base (876fbed) to head (6237562).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##               master      #2174        +/-   ##
==================================================
+ Coverage     68.8710%   68.8764%   +0.0053%     
+ Complexity      29570      29569         -1     
==================================================
  Files            1421       1421                
  Lines          113714     113711         -3     
  Branches        19715      19714         -1     
==================================================
+ Hits            78316      78320         +4     
+ Misses          28787      28783         -4     
+ Partials         6611       6608         -3     
Files with missing lines Coverage Δ
...va/org/apache/groovy/parser/antlr4/AstBuilder.java 86.3495% <100.0000%> (+0.0262%) ⬆️

... and 2 files with indirect coverage changes

🚀 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.

@daniellansun
Copy link
Contributor

It's better not to break existing users' code unless we have to do.

@eric-milles
Copy link
Member Author

Do you have an example of something that requires this? It is quite costly to support arbitrary expression list in for loop.

@paulk-asert
Copy link
Contributor

I added some example to the Jira and asked Jochen (via slack) if he had other examples (but he hasn't responded yet).

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

Successfully merging this pull request may close these issues.

4 participants