[
https://issues.apache.org/jira/browse/GROOVY-6977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-6977.
---------------------------------
Resolution: Fixed
> Method type parameter resolved to class with anonymous inner class
> ------------------------------------------------------------------
>
> Key: GROOVY-6977
> URL: https://issues.apache.org/jira/browse/GROOVY-6977
> Project: Groovy
> Issue Type: Bug
> Reporter: Julien Viet
> Priority: Major
>
> compiling
> {code}
> class A {
> public <R> void bar() {
> List<R> a = new ArrayList<R>() { };
> }
> }
> {code}
> fails with "Groovy:unable to resolve class R"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)