[
https://issues.apache.org/jira/browse/GROOVY-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414983#comment-17414983
]
Eric Milles commented on GROOVY-10229:
--------------------------------------
{quote}This will also be backported to Groovy 3.x, right?{quote}
I think so. I am giving it some burn in time and investigating handling of
wildcard a little further.
If you need it to compile properly under 3.0.9, you can change the return value
of {{asd()}} from {{Map<String,?>}} to {{Map<String,Object>}}. Or you can add
a typecast of {{Map<String,Object>}} to the first {{asd}} call.
> Question mark in the attribute for a class name
> -----------------------------------------------
>
> Key: GROOVY-10229
> URL: https://issues.apache.org/jira/browse/GROOVY-10229
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 3.0.9
> Reporter: Boris Petrov
> Assignee: Eric Milles
> Priority: Major
> Fix For: 4.0.0-beta-2
>
>
> This wasn't the case for version 3.0.8.
> I initially opened the bug report in ProGuard as I thought the issue was
> there - [https://github.com/Guardsquare/proguard/issues/187]. However, they
> mentioned that this seems like a Groovy compiler bug so I'm opening an issue
> here as well. Please check the GitHub issue for a reproduction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)