Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-5
-
None
-
None
-
Mustang b82
Description
There might be special syntax for that - in which case forgive me since I couldn't find any up-to-date / comprehensive documentations for the language yet.
Basically the following does not work:
class Rational {
final BigInteger numerator
}
class Whole extends Rational {
BigInteger plus(Whole number) {
numerator.add(number.numerator)
}
}