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:12:00 UTC

[jira] [Created] (GROOVY-11104) Static import of property accessor for type in same unit

Eric Milles created GROOVY-11104:
------------------------------------

             Summary: 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


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)