groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keegan Witt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8224) Stubs for classes implementing traits with fields don't include getters/setters
Date Sat, 10 Jun 2017 18:45:18 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keegan Witt updated GROOVY-8224:
--------------------------------
    Description: 
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}

> 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
>            Assignee: Keegan Witt
>
> 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
(v6.3.15#6346)

Mime
View raw message