Affects Version/s: 1.6.5
Fix Version/s: None
Number of attachments :
When integrating a library defined by a 3rd party into Groovy, it's often convenient to be able to define missing method/property receiver. Since I can't modify the library directly, it would be great if this can be achieved via category.
In the current MetaClassImpl implementation, category isn't searched for a missing method/property receiver.
Note that the generic "Object get(String name)" serves as a replacement for propertyMissing, but there's nothing like that for methods. Plus the get method isn't invoked for "foo.someMethod(...)" even though it works for "(foo.someMethod)(...)" due to the difference in the property look up and method invocation handling.
|Field||Original Value||New Value|
|Fix Version/s||1.8-beta-1 [ 15750 ]|
|Fix Version/s||1.8.x [ 15750 ]|