You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/10/08 20:39:00 UTC

[jira] [Comment Edited] (GROOVY-10288) Regression with generics

    [ https://issues.apache.org/jira/browse/GROOVY-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426358#comment-17426358 ] 

Eric Milles edited comment on GROOVY-10288 at 10/8/21, 8:38 PM:
----------------------------------------------------------------

Caused by GROOVY-10113
Fixed by GROOVY-10125


was (Author: emilles):
Fixed by GROOVY-10125

> Regression with generics
> ------------------------
>
>                 Key: GROOVY-10288
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10288
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 3.0.9
>            Reporter: James Kleeh
>            Assignee: Eric Milles
>            Priority: Major
>
> The following class fails to compile with 3.0.9, but works OK with 3.0.7
> {code:java}
> abstract class Test<A, T extends A> {
>  }{code}
> The error:
>  
> {code:java}
> Script370812522650681.groovy: 6: Cycle detected: the type java.lang.Object cannot extend/implement itself or one of its own member types
>  @ line 6, column 34.
>  abstract class Test<A, T extends A> {
>  ^{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)