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 2023/12/22 11:39:00 UTC

[jira] [Closed] (GROOVY-11226) Stub generator doesn't generate property accessors

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

Paul King closed GROOVY-11226.
------------------------------

> Stub generator doesn't generate property accessors
> --------------------------------------------------
>
>                 Key: GROOVY-11226
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11226
>             Project: Groovy
>          Issue Type: Bug
>          Components: Stub generator / Joint compiler
>    Affects Versions: 4.0.15
>            Reporter: Christopher Smith
>            Assignee: Eric Milles
>            Priority: Major
>
> I have a Java interface
> {code:java}
> public interface Foo {
>   Bar getBar();
> }
> {code}
> and a Groovy class
> {code:groovy}
> @TupleConstructor
> class FooImpl implements Foo {
>   final Bar bar
> }
> {code}
> The generated stub does not include the {{Bar getBar()}} property accessor, which causes the stub compilation to fail.



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