Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-beta-3
-
None
-
None
Description
In Groovy the following is allowed:
class Hello {
void foo(String one, String two = "foo") {
println "$one $two"
}
}
println new Hello().foo("boo") // prints "boo foo"
However the joint compiler throws a compilation error because it only sees the method that takes two String arguments