Xiaotian Ma created GROOVY-11579:
------------------------------------

             Summary: Reproduction of GROOVY-11548 with Generic Parameters
                 Key: GROOVY-11579
                 URL: https://issues.apache.org/jira/browse/GROOVY-11579
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 4.0.26
         Environment: Tried on Linux and Windows, the same error.
            Reporter: Xiaotian Ma


{code:java}
interface I<T0> {
    abstract T0 func()
}
abstract class A {
    final String func() {
        return "A"
    }
}
class B extends A implements I<String> {}
{code}
Reproduction of 
[GROOVY-11548|https://issues.apache.org/jira/browse/GROOVY-11548] with Generic 
Parameters.
Groovy 4.0.26:
{code:java}
A.groovy: -1: You are not allowed to override the final method func() from 
class 'A'.
@ line -1, column -1.
1 error{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to