[
https://issues.apache.org/jira/browse/GROOVY-11104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-11104.
----------------------------------
Resolution: Fixed
https://github.com/apache/groovy/commit/ceb167a23e6843b1506cf4ad60a41686662bd16e
> 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
>
> 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)