Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.9, 2.4.1
-
None
Description
@groovy.transform.CompileStatic class X { Y makeY() { new Y(a:1) } private class Y { int a } } println new X().makeY()
Error:
[Static type checking] - Cannot find matching method X$Y#<init>(X, java.util.LinkedHashMap <java.lang.String, java.lang.Integer>). Please check if the declared type is right and if the method exists.
Attachments
Issue Links
- relates to
-
GROOVY-7379 listeners.each { UDPListener -> ... fails with exception runtime on List<UDPListener> when used in an inner class.
- Closed
- links to