You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by bl...@apache.org on 2023/10/01 15:25:53 UTC

[groovy] branch feature/GROOVY-8299/default_methods updated (cc406cf751 -> 6d4679e348)

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

blackdrag pushed a change to branch feature/GROOVY-8299/default_methods
in repository https://gitbox.apache.org/repos/asf/groovy.git


 discard cc406cf751 GROOVY-8299: typechecking needs to use receiver to decide on target method being valid
 discard 0817795573 GRPPVY-8299: implement dynamic path for default interface methods
 discard f6c7bf56c6 GROOVY-8299: implement call to interface method using super with static compilation
 discard ba28f9a77a GROOVY-8299: allow I.super for default methods
 discard 34d48285a5 GROOVY-9801: add default methods to stub generation
 discard 5575766d8f GROOVY-8299: restore trait marker in AstBuilder or traits won't work
 discard 796985f78e GROOVY-8299: implement interfaces with default methods (initial commit)
     add 6ab3fa8f7d Use the tap() method instead of with(), as tap() returns the object instead of returning the last expression of the closure like with with(). Without this change, variable p3 actually contained the int 1951
     add 032ed6c508 GROOVY-7213, GROOVY-8859: no trait bridge for private methods
     add b779d30686 GROOVY-11178: JSR 308: ctor call type annotations
     add eee9e7b280 GROOVY-9155: add test case
     add ad2ac49937 GROOVY-9154: add test case
     add aae0d08b0b GROOVY-11179: JSR 308: inline constants and variable scope for type anno
     add 5e501c4498 remove type vars from `JSR308Permitted2`
     add 7f280fe133 parse test only
     add 9e5bc22e66 all except `permits`
     add 1b07e27db4 GROOVY-8145, GROOVY-11104, GROOVY-11180: `@PackageScope` + static import
     add 7250c4cf4a fix typo
     add d9d2a830f5 GROOVY-11168: STC: `@DelegatesTo(type=` type parameter resolution
     add 4a92e68ccd Bump org.jfrog.buildinfo:build-info-extractor-gradle from 5.1.6 to 5.1.8
     add afae0f89af Add Bundle-License to the generated jars
     add d45bb3f255 Bump org.jfrog.buildinfo:build-info-extractor-gradle from 5.1.8 to 5.1.9
     add 1273fe3e7c GROOVY-11183: Add `allThreads` method to `Thread`
     add abbc993ae0 Update link to JDK21
     add 9b4634feb2 Ignore failure for removing large unused packages
     add eccb59edba Update verification metadata
     add 248ed9ce09 GROOVY-11184: JSR308: explicit `this` type annotations
     add 1e8f1e0a60 tweak JDKs
     add 4f83ca8709 revert JDK test
     add e3d3feec5c GROOVY-8299: implement interfaces with default methods (initial commit)
     add 825382326e GROOVY-8299: restore trait marker in AstBuilder or traits won't work
     add ecc3aea323 GROOVY-9801: add default methods to stub generation
     add b645017d06 GROOVY-8299: allow I.super for default methods
     add 08f1ee3324 GROOVY-8299: implement call to interface method using super with static compilation
     add 6aa3855e4c GRPPVY-8299: implement dynamic path for default interface methods
     add 6d4679e348 GROOVY-8299: typechecking needs to use receiver to decide on target method being valid

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (cc406cf751)
            \
             N -- N -- N   refs/heads/feature/GROOVY-8299/default_methods (6d4679e348)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/workflows/groovy-build-coverage.yml        |  22 +-
 .github/workflows/groovy-build-dist.yml            |  22 +-
 .github/workflows/groovy-build-test-aux.yml        |  22 +-
 .github/workflows/groovy-build-test-ea.yml         |   2 +-
 .github/workflows/groovy-build-test-main.yml       |  22 +-
 build-logic/build.gradle                           |   2 +-
 .../groovy/gradle/GroovyLibraryExtension.groovy    |   1 +
 gradle/verification-metadata.xml                   |  10 +
 src/antlr/GroovyParser.g4                          |   2 +-
 .../apache/groovy/ast/tools/ClassNodeUtils.java    |  75 +--
 .../apache/groovy/parser/antlr4/AstBuilder.java    |  15 +-
 .../java/org/codehaus/groovy/ast/ClassNode.java    |   4 +-
 .../java/org/codehaus/groovy/ast/Parameter.java    |  37 +-
 .../groovy/classgen/AsmClassGenerator.java         |  17 +-
 .../codehaus/groovy/classgen/ExtendedVerifier.java | 178 ++++----
 .../classgen/InnerClassCompletionVisitor.java      |  26 +-
 .../groovy/classgen/InnerClassVisitor.java         |   2 +
 .../groovy/classgen/VariableScopeVisitor.java      |  90 +++-
 .../org/codehaus/groovy/classgen/Verifier.java     |   2 +
 .../codehaus/groovy/control/ResolveVisitor.java    |  72 ++-
 .../groovy/runtime/DefaultGroovyStaticMethods.java |  25 +
 .../transform/stc/StaticTypeCheckingVisitor.java   |  16 +-
 .../groovy/transform/trait/TraitComposer.java      | 102 ++---
 .../test/CodeGenerationASTTransformsTest.groovy    |   2 +-
 src/test-resources/bugs/GROOVY-8228.groovy         |  61 ++-
 src/test/gls/annotations/AnnotationTest.groovy     |  41 +-
 src/test/groovy/StaticImportTest.groovy            |  26 +-
 .../groovy/transform/stc/DelegatesToSTCTest.groovy | 508 +++++++++------------
 .../org/codehaus/groovy/ast/ClassNodeTest.java     |  14 +
 .../groovy/classgen/asm/TypeAnnotationsTest.groovy | 389 ++++++++++------
 .../runtime/DefaultGroovyStaticMethodsTest.groovy  |   4 +
 .../groovy/transform/traitx/Groovy7213Bug.groovy   |  40 --
 .../traitx/TraitASTTransformationTest.groovy       |  42 +-
 33 files changed, 1064 insertions(+), 829 deletions(-)
 delete mode 100644 src/test/org/codehaus/groovy/transform/traitx/Groovy7213Bug.groovy