You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/03 22:36:00 UTC
[jira] [Closed] (GROOVY-10439) No error/warning for @Delegate introducing conflicting interface generics
[ https://issues.apache.org/jira/browse/GROOVY-10439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-10439.
------------------------------
> No error/warning for @Delegate introducing conflicting interface generics
> -------------------------------------------------------------------------
>
> Key: GROOVY-10439
> URL: https://issues.apache.org/jira/browse/GROOVY-10439
> Project: Groovy
> Issue Type: Bug
> Components: Compiler
> Reporter: Eric Milles
> Assignee: Eric Milles
> Priority: Minor
> Fix For: 4.0.0
>
>
> Consider the following:
> {code:groovy}
> class C implements List<String> {
> @Delegate List<Number> numbers
> }
> {code}
> C implements List<String> and List<Number> but there is no compiler error or warning.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)