groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Laguna <ruben.lag...@gmail.com>
Subject Re: Is it possible to add GroovyObject methods via a category?
Date Mon, 11 Dec 2017 08:26:41 GMT
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