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 2019/07/01 15:54:58 UTC
[GitHub] [groovy] eric-milles opened a new pull request #958: GROOVY-6809
and GROOVY-9168: AIC before delegate constructor call
eric-milles opened a new pull request #958: GROOVY-6809 and GROOVY-9168: AIC before delegate constructor call
URL: https://github.com/apache/groovy/pull/958
Add support for:
```groovy
class A {
A() {
this(new Runnable() {
@Override
void run() {
...
}
})
}
private A(Runnable action) {
...
}
}
```
and
```groovy
class A {
A(Runnable action = new Runnable() { void run() { ... }}) {
this.action = action
}
Runnable action
}
```
----------------------------------------------------------------
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
With regards,
Apache Git Services