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

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


    from 4668a7681a GROOVY-4843, GROOVY-8560: box primitive array for spread 
invocation
     new 7364b37717 GROOVY-10240: Instance field is not allowed in `record`
     new 7c85db587d GROOVY-10240: Instance initializer is not allowed in 
`record`
     new 8b50a71b97 GROOVY-10240: Only record can have compact constructor
     new 9dbc51c5e9 GROOVY-10240: Compact constructor should have the same name 
as record
     new 4aa428a841 GROOVY-10240: Cannot assign a value to final variable

The 5 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:
 .../java/org/apache/groovy/parser/antlr4/AstBuilder.java | 15 +++++++++++----
 .../test-resources/fail/ClassDeclaration_04x.groovy      |  8 ++++----
 .../RecordDeclaration_15x.groovy}                        | 12 ++++--------
 .../RecordDeclaration_16x.groovy}                        | 16 ++++++----------
 .../{Trait_01.groovy => RecordDeclaration_17x.groovy}    |  6 ++++--
 .../{Trait_01.groovy => RecordDeclaration_18x.groovy}    |  7 +++++--
 .../apache/groovy/parser/antlr4/SyntaxErrorTest.groovy   |  9 +++++++++
 7 files changed, 43 insertions(+), 30 deletions(-)
 copy subprojects/groovy-sql/src/test/groovy/groovy/sql/Person.groovy => 
src/test-resources/fail/ClassDeclaration_04x.groovy (90%)
 copy src/test-resources/{core/RecordDeclaration_03x.groovy => 
fail/RecordDeclaration_15x.groovy} (77%)
 copy src/test-resources/{core/RecordDeclaration_05x.groovy => 
fail/RecordDeclaration_16x.groovy} (78%)
 copy src/test-resources/fail/{Trait_01.groovy => RecordDeclaration_17x.groovy} 
(87%)
 copy src/test-resources/fail/{Trait_01.groovy => RecordDeclaration_18x.groovy} 
(86%)

Reply via email to