Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.5
-
None
Description
class A { void foo() { new B().r() } class B { def r() { new C("") } } class C { C(s) {} } } new A().foo()
The code above fails with the following error
Caught: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: A$C(java.lang.String) at A$B.r(TryGroovy.groovy:8) at A.foo(TryGroovy.groovy:3) at TryGroovy.run(TryGroovy.groovy:17)