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 2017/07/27 05:35:00 UTC

[jira] [Created] (GROOVY-8270) Bug in @AutoImplement

Paul King created GROOVY-8270:
---------------------------------

             Summary: Bug in @AutoImplement
                 Key: GROOVY-8270
                 URL: https://issues.apache.org/jira/browse/GROOVY-8270
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.5.0-beta-1
            Reporter: Paul King


This works:
{code}
@AutoImplement
class MyClass implements Comparator {}
{code}
but this doesn't:
{code}
@AutoImplement
class MyClass implements Comparator<String> {}
{code}
The parameters aren't equal inside {{AutoImplementASTTransformation#getDeclaredMethodCorrected}} after correcting for generics (String vs Object).




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)