[
https://issues.apache.org/jira/browse/GROOVY-11104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-11104:
---------------------------------
Fix Version/s: 3.0.18
> Static import of property accessor for type in same unit
> --------------------------------------------------------
>
> Key: GROOVY-11104
> URL: https://issues.apache.org/jira/browse/GROOVY-11104
> Project: Groovy
> Issue Type: Bug
> Reporter: Eric Milles
> Assignee: Eric Milles
> Priority: Major
> Fix For: 3.0.18, 4.0.13
>
>
> Consider the following:
> {code:groovy}
> import static Type.setP as store
> class Type {
> static p
> }
> @groovy.transform.CompileStatic
> void test() {
> store('') // not recognized if Type is in same unit; property methods not
> there yet
> }
> test()
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)