Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.7
-
None
Description
Running the code below, "Derived Class" is expected to be printed out, but instead "Base Class" is printed.
class Base { static final String CONST = "Base Class" } class Derived extends Base { static final String CONST = "Derived Class" } println Derived.CONST
When writing this same code in Java, "Derived Class" is properly printed out.
Attachments
Issue Links
- links to