[ 
https://issues.apache.org/jira/browse/GROOVY-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018535#comment-18018535
 ] 

ASF GitHub Bot commented on GROOVY-11601:
-----------------------------------------

daniellansun commented on PR #2289:
URL: https://github.com/apache/groovy/pull/2289#issuecomment-3261376284

   > Could you clarify the reason why we should restore the feature that was 
just removed in 5.0.0-beta-2?
   
   I find the answer:
   https://lists.apache.org/thread/nhc87kp8b8tj7ts6t9m08xfsq8x6ktk6
   




> remove support for expression list in for-each statement
> --------------------------------------------------------
>
>                 Key: GROOVY-11601
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11601
>             Project: Groovy
>          Issue Type: Improvement
>          Components: parser-antlr4
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 5.0.0-beta-2
>
>
> The for-each loop supports an arbitrary expression list.  Presumably this is 
> for legacy reasons.  Now that multi-variable declaration is supported by 
> for-each and classic for, it does not seem necessary to support expression 
> list.  I propose to remove it from the parser grammar.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to