Github user danielsun1106 commented on the pull request:
https://github.com/apache/groovy/commit/c24c0b7e6a67dcdf277207d4261cfa6f2b55031f#commitcomment-27230310
In src/main/java/org/codehaus/groovy/classgen/asm/InvocationWriter.java:
In src/main/java/org/codehaus/groovy/classgen/asm/InvocationWriter.java on
line 483:
> Is it acceptable groovy method dispatch depends on declared type?
AFAIK, only closure supports `r()`, and native lambda supports the grammar
too.
> SAM types doesn't have to contain @FunctionalInterface. I think this
check contradicts its documentation
You're right :-)
---