[
https://issues.apache.org/jira/browse/GROOVY-10783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Sun updated GROOVY-10783:
--------------------------------
Description:
{code:java}
class X{ def bar(){1}}
class XCat4{ static propertyMissing(X x, String name) {"works"}}
def x = new X()
use(XCat4) {
assert x.baz == "works"
}
{code}
The above code will blame {{baz}} property not found when indy is enabled
> propertyMissing of category does not work when indy enabled
> -----------------------------------------------------------
>
> Key: GROOVY-10783
> URL: https://issues.apache.org/jira/browse/GROOVY-10783
> Project: Groovy
> Issue Type: Bug
> Reporter: Daniel Sun
> Priority: Major
>
> {code:java}
> class X{ def bar(){1}}
> class XCat4{ static propertyMissing(X x, String name) {"works"}}
> def x = new X()
> use(XCat4) {
> assert x.baz == "works"
> }
> {code}
> The above code will blame {{baz}} property not found when indy is enabled
--
This message was sent by Atlassian Jira
(v8.20.10#820010)