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 2021/03/19 00:04:56 UTC

[GitHub] [groovy] eric-milles opened a new pull request #1528: GROOVY-6747: ensure enum ctor private and add bridge for const with body

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


   ```groovy
     enum E {
       X {
       },
       Y
     }
   ```
   E provides a private, implicit constructor (String,int) for Y and a package-private, synthetic constructor (String,int,E) for X (aka E$1).  This is what the Java compiler does as well.
   
   https://issues.apache.org/jira/browse/GROOVY-6747


-- 
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.

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



[GitHub] [groovy] danielsun1106 merged pull request #1528: GROOVY-6747: ensure enum ctor private and add bridge for const with body

Posted by GitBox <gi...@apache.org>.
danielsun1106 merged pull request #1528:
URL: https://github.com/apache/groovy/pull/1528


   


-- 
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.

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



[GitHub] [groovy] danielsun1106 commented on pull request #1528: GROOVY-6747: ensure enum ctor private and add bridge for const with body

Posted by GitBox <gi...@apache.org>.
danielsun1106 commented on pull request #1528:
URL: https://github.com/apache/groovy/pull/1528#issuecomment-804544443


   Merged. Thanks!


-- 
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.

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