Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.5
-
None
Description
Hi!
I am having problems with the following code:
class Del {
public void doSomething(boolean flag = true) {
println flag
}
}
class AClass {
@Delegate Del del = new Del()
}
def a = new AClass()
a.doSomething(true) // works fine
a.doSomething() // methodMissingException
Thank you!