groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: Is it possible to add GroovyObject methods via a category?
Date Mon, 11 Dec 2017 08:28:50 GMT
3.0 is still some time away from being feature complete.

On Mon, Dec 11, 2017 at 6:26 PM, Ruben Laguna <ruben.laguna@gmail.com>
wrote:

> I see, thank you very much.
>
> I'll take a look at how to implement the methodMissing support since
> I'm really interested on having this at some point in Groovy. Is there
> any chance to see this in Groovy 3.0 if you receive a satisfactory
> patch? or is too late for 3.0?
>
> Best regards/Rubén
>
> On Fri, Dec 8, 2017 at 7:02 PM, Jochen Theodorou <blackdrag@gmx.org>
> wrote:
> > On 08.12.2017 10:31, Ruben Laguna wrote:
> >>
> >> I've found the following *old* bug report from 2009:
> >>
> >> [GROOVY-3867 Allow methodMissing/propertyMissing to be defined through
> >> category |https://issues.apache.org/jira/browse/GROOVY-3867]
> >>
> >> which says that methodMissing does not work since Groovy 1.6.5.
> >
> >
> > ok, then it is something we never got to fix
> >
> >> So I've opened a new JIRA ticket [iGROOVY-8408 invokeMethod cannot be
> >> set through category|https://issues.apache.org/jira/browse/GROOVY-8408]
> >
> >
> > as long as we have the GroovyObject based logic we currently have
> > invokeMethod cannot receive this kind of treatment.
> >
> > bye Jochen
>
>
>
> --
> /Rubén
>

Mime
View raw message