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 2021/10/25 20:47:00 UTC

[jira] [Created] (GROOVY-10329) import static star: add support for static callable property

Eric Milles created GROOVY-10329:
------------------------------------

             Summary: import static star: add support for static callable property
                 Key: GROOVY-10329
                 URL: https://issues.apache.org/jira/browse/GROOVY-10329
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles
            Assignee: Eric Milles


Follow up from GROOVY-3945, GROOVY-7490, GROOVY-8389.
https://github.com/apache/groovy/commit/56fd1b05eaf9ee7d53ce743ded0afa4677d1810b
https://github.com/apache/groovy/commit/92ec8815c72a2cf9e6e2153cf5eb3f37b89c8990

Consider the following:
{code:groovy}
class C {
  static p = { -> }
}

import static C.*

p()
{code}

If "*" is replaced by "p" this works.  Add support for the wildcard case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)