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)

Reply via email to