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] [Issue Comment Deleted] (GROOVY-10288) Regression with generics

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

Eric Milles updated GROOVY-10288:
---------------------------------
    Comment: was deleted

(was: I'm looking into that right now.  I think GROOVY-10113 is interlaced with the fix.)

> 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)