groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch GROOVY_3_0_X updated (efbf991 -> 4fb0893)
Date Sun, 01 Dec 2019 10:41:38 GMT
This is an automated email from the ASF dual-hosted git repository.

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


    from efbf991  GROOVY-9326: Bump CodeNarc to 1.5 (#1113)
     new 90f44af  organize members and other minor edits
     new 91a65f0  remove dead code
     new 58b35d4  reset flags after constructor (like after method) and other minor edits
     new 5515c09  GROOVY-9317: record field expression value for assert
     new 45610c5  GROOVY-9318: add support for ** syntax in star import white/black lists
     new 4d4be63  refactor to remove repeated creation of Class<Type>
     new 285e82e  GROOVY-8648: fix ASM error for this or super attribute expression on LHS
     new b8f8728  GROOVY-8762: add test case
     new 496524c  minor edits
     new d62a3f0  GROOVY-8762: make WriterController#isInClosure() more selective
     new a95cdb3  refactor to move property-only field checking to visitPropertyExpression
     new b977dc4  add test case for super attribte expression
     new 4dfdb1a  make parameters final and remove dead path in visitAttributeExpression
     new 1c9d4e5  refactor InvocationWriter to reduce duplication around makeCall
     new 4259a53  GROOVY-8468: add test case
     new 2731e71  GROOVY-8361: add test case
     new 8815125  refactor and reorganize
     new 9dd7eda  refactor dynamic variable handling
     new e15269a  track "in closure" and other minor edits
     new 4fb0893  fix for "in closure" tracking

The 20 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:
 .../groovy/classgen/AsmClassGenerator.java         | 534 ++++++++---------
 .../groovy/classgen/VariableScopeVisitor.java      | 578 +++++++++---------
 .../groovy/classgen/asm/DelegatingController.java  |  94 ++-
 .../groovy/classgen/asm/InvocationWriter.java      | 401 +++++--------
 .../classgen/asm/OptimizingStatementWriter.java    | 649 +++++++++++----------
 .../groovy/classgen/asm/WriterController.java      |  85 ++-
 .../classgen/asm/sc/StaticInvocationWriter.java    |  13 +-
 .../control/customizers/SecureASTCustomizer.java   |  84 +--
 .../transform/stc/StaticTypeCheckingVisitor.java   |  39 +-
 src/spec/test/semantics/PowerAssertTest.groovy     |  24 +-
 src/test/groovy/bugs/Groovy8361.groovy             | 115 ++++
 .../bugs/{Groovy9265.groovy => Groovy8468.groovy}  |  21 +-
 .../bugs/{Groovy9265.groovy => Groovy8648.groovy}  |  26 +-
 .../bugs/{Groovy6996.groovy => Groovy8762.groovy}  |  49 +-
 .../test/groovy/bugs/groovy8468/Face.java          |  46 +-
 .../groovy/bugs/groovy8468/FaceImpl.java}          |  46 +-
 .../groovy/bugs/groovy8468/Factory.java}           |  47 +-
 .../groovy/bugs/groovy8468/FactoryImpl.java}       |  58 +-
 .../groovy/classgen/asm/sc/bugs/Groovy7300.groovy  |  22 +-
 .../customizers/SecureASTCustomizerTest.groovy     | 449 ++++++++------
 .../powerassert/AssertionRenderingTest.groovy      | 290 +++++----
 .../runtime/powerassert/ValueRenderingTest.groovy  | 121 ++--
 22 files changed, 1973 insertions(+), 1818 deletions(-)
 create mode 100644 src/test/groovy/bugs/Groovy8361.groovy
 copy src/test/groovy/bugs/{Groovy9265.groovy => Groovy8468.groovy} (72%)
 copy src/test/groovy/bugs/{Groovy9265.groovy => Groovy8648.groovy} (68%)
 copy src/test/groovy/bugs/{Groovy6996.groovy => Groovy8762.groovy} (54%)
 copy subprojects/parser-antlr4/src/test/resources/fail/FieldDeclaration_01x.groovy =>
src/test/groovy/bugs/groovy8468/Face.java (91%)
 copy src/{main/java/groovy/lang/Buildable.java => test/groovy/bugs/groovy8468/FaceImpl.java}
(89%)
 copy src/{main/java/groovy/lang/Buildable.java => test/groovy/bugs/groovy8468/Factory.java}
(85%)
 copy src/{main/java/org/codehaus/groovy/runtime/wrappers/ShortWrapper.java => test/groovy/bugs/groovy8468/FactoryImpl.java}
(64%)


Mime
View raw message