Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Follow up from GROOVY-3945, GROOVY-7490, GROOVY-8389.
https://github.com/apache/groovy/commit/92ec8815c72a2cf9e6e2153cf5eb3f37b89c8990
https://github.com/apache/groovy/commit/56fd1b05eaf9ee7d53ce743ded0afa4677d1810b
Consider the following:
class C { static p = { -> print 'called' } } import static C.* p()
If "*" is replaced by "p" this works. Add support for the wildcard case.
Attachments
Issue Links
- causes
-
GROOVY-11056 modified behavior of variable resolution within Closure
- Closed