You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "David Cole (JIRA)" <ji...@apache.org> on 2018/05/22 15:49:00 UTC

[jira] [Commented] (GROOVY-8224) Stubs for classes implementing traits with fields don't include getters/setters

    [ https://issues.apache.org/jira/browse/GROOVY-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484165#comment-16484165 ] 

David Cole commented on GROOVY-8224:
------------------------------------

We recently experienced the exact same issue. Has anyone looked into this issue yet?

> Stubs for classes implementing traits with fields don't include getters/setters
> -------------------------------------------------------------------------------
>
>                 Key: GROOVY-8224
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8224
>             Project: Groovy
>          Issue Type: Bug
>          Components: Stub generator / Joint compiler
>            Reporter: Keegan Witt
>            Priority: Major
>
> As an example, the stubs generated for _GroovyXImpl_ for the Groovy below doesn't include {{int getFoo()}} or {{void setFoo(int value)}}.
> {code:java}
> trait GroovyXTrait {
>     int foo
> }
> class GroovyXImpl implements GroovyXTrait { }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)