You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2023/06/18 14:45:00 UTC
[jira] [Resolved] (GROOVY-11104) Static import of property accessor for type in same unit
[ 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)