Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
the compiler allows classes such as
class X1 { Long toString() { 333L } // Should not be allowed String hashCode() { "hash" } // Should also not be allowed }
which it should not