You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2022/10/05 17:56:00 UTC
[jira] [Resolved] (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 ]
Daniel Sun resolved GROOVY-10783.
---------------------------------
Fix Version/s: 5.0.0-alpha-1
4.0.6
Assignee: Daniel Sun
Resolution: Fixed
> 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: 5.0.0-alpha-1, 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)