Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-beta-3
-
None
-
None
Description
The following code should either trigger a compilation error of "repetitive method definition", or produce exception at runtime:
<code>
void foo(String one, String two = "two") {
println "$one $two"
}
void foo(String one, String two = "two", String three = "three") {
println "$one $two $three"
}
foo ("bar")
</code>