You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2023/02/10 21:41:01 UTC

[jira] [Closed] (GROOVY-10783) propertyMissing of category does not work when indy enabled

     [ https://issues.apache.org/jira/browse/GROOVY-10783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-10783.
------------------------------

> 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
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 4.0.6
>
>
> {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)