groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: Is it possible to add GroovyObject methods via a category?
Date Fri, 08 Dec 2017 08:02:00 GMT
On 07.12.2017 13:44, Ruben Laguna wrote:
> There was a typo in my previous mail missingMethod -> methodMissing.
> It still doesn not work, a.method1() throws MissingMethodException
> after adding the methodMissing via category.

yes, just tested myself. if you add the method through the meta class it 
works. It is strange it does not work via category. This is supposed to 
work... and I was really thinking that used to work too. So I am 
puzzled, looks like a bug/regression to me

bye Jochen

View raw message