[ 
https://issues.apache.org/jira/browse/GROOVY-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pascal Schumacher updated GROOVY-6814:
--------------------------------------
    Affects Version/s: 2.4.5

> Compilation error only occurs with Groovy 2.3.1
> -----------------------------------------------
>
>                 Key: GROOVY-6814
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6814
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.3.1, 2.4.5
>            Reporter: Alex Boyko
>         Attachments: TestProject_JIRA1718.zip
>
>
> All .groovy classes used to compile with all Groovy 2.x versions up to 2.3. 
> With 2.3.1 LinkingRenderer class doesn't compile any more.
> The error is:
> {noformat}
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> LinkingRenderer.groovy: 19: [Static type checking] - Cannot call p2.Renderer 
> <java.lang.Object>#render(java.lang.Object <java.lang.Object>, 
> java.lang.String) with arguments [T, java.lang.String] 
>  @ line 19, column 3.
>               htmlRenderer.render(object, context)
>      ^
> 1 error
> {noformat}
> Java for a similar project gives a warning about using raw types instead of 
> parameterized.
> (Perhaps this is not a defect)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to