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 16:35:00 UTC
[jira] [Assigned] (GROOVY-10288) Regression with generics
[ https://issues.apache.org/jira/browse/GROOVY-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles reassigned GROOVY-10288:
------------------------------------
Assignee: Eric Milles
> 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)