Details
Description
class Example {
def getAt(String a, String b) { return 1 }
def getAt(String a) {
return 2
}
}
def e = new Example()
println e["", ""]
Works in 1.5.0, bails in 1.5.1
Complains that there is no version of getAt that takes an ArrayList parameter.
I have attached a patch that fixes this. This seems a pretty severe bug. I am really surprised it didn't get caught by the tests. All tests pass after applying the patch.