This is an automated email from the ASF dual-hosted git repository.

emilles pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


    from 46756aaa52 GROOVY-11596: Additional DGM lazy iterator methods (minor 
refactor)
     new d0b879f526 `for` loop parser refactor
     new ee7de65492 GROOVY-11595: error for invalid modifiers on `for` or 
`catch` parameters
     new 876fbed302 GROOVY-10683: support `for (index, item in list)` looping

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/antlr/GroovyLexer.g4                           |  15 +-
 src/antlr/GroovyParser.g4                          |  34 ++--
 .../apache/groovy/parser/antlr4/AstBuilder.java    |  75 +++++----
 .../org/codehaus/groovy/ast/stmt/ForStatement.java |  81 +++++++---
 .../groovy/classgen/ClassCompletionVerifier.java   |  90 +++++++----
 .../groovy/classgen/VariableScopeVisitor.java      |  11 +-
 .../groovy/classgen/VerifierCodeVisitor.java       |  12 +-
 .../groovy/classgen/asm/StatementWriter.java       |  15 +-
 .../asm/sc/StaticTypesStatementWriter.java         |  29 +++-
 .../transform/CategoryASTTransformation.java       |   6 +-
 .../transform/sc/StaticCompilationVisitor.java     |   7 +-
 src/spec/doc/_working-with-collections.adoc        |   2 +-
 src/spec/test/SemanticsTest.groovy                 | 116 ++++++++------
 src/test-resources/bugs/GROOVY-3898.groovy         |  26 ---
 src/test/groovy/ForLoopTest.groovy                 | 175 ++++++++++++---------
 .../groovy/parser/antlr4/GroovyParserTest.groovy   |   7 +-
 .../groovy/parser/antlr4/util/AstDumper.groovy     |   8 +-
 .../console/ui/AstNodeToScriptAdapter.groovy       |  17 +-
 18 files changed, 433 insertions(+), 293 deletions(-)
 delete mode 100644 src/test-resources/bugs/GROOVY-3898.groovy

Reply via email to