Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This compiles fine, but it shouldn't be allowed :
class A { int foo() { 1 } long foo() {2L } } new A().foo()
(returns 1)
This compiles fine, but it shouldn't be allowed :
class A { int foo() { 1 } long foo() {2L } } new A().foo()
(returns 1)