You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2022/07/26 17:53:11 UTC

[GitHub] [groovy] eric-milles opened a new pull request, #1755: GROOVY-10695: `Type.name` within `Type` gets explicit-`this` treatment

eric-milles opened a new pull request, #1755:
URL: https://github.com/apache/groovy/pull/1755

   Provides consistent handling for read and write access of static fields:
   ```groovy
   class Type {
     private static field
     static getField() {
       // not used
     }
     static sm() {
       Type.field
       this.field
       field
     }
   }
   ```
   
   https://issues.apache.org/jira/browse/GROOVY-10695
   
   This could be separated into a few commits:
   * refactor of `MixinASTTransformation`
   * removal of `implementsGroovyObject` from `AsmClassGenerator`
   * removal of `isThisExpression`/`isSuperExpression`/`isNullConstant` from `AsmClassGenerator`
   * add static field, non-static receiver checks to `visitAttributeExpression` and `visitPropertyExpression`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [groovy] eric-milles merged pull request #1755: GROOVY-10695: `Type.name` within `Type` gets explicit-`this` treatment

Posted by GitBox <gi...@apache.org>.
eric-milles merged PR #1755:
URL: https://github.com/apache/groovy/pull/1755


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org