class A cue init .init('') cue init(message as String) base.init class B inherits A cue init .init(0) cue init(i as int) base.init # ^ used to generate a false error message: # There is no type for the right hand side of ".". Use a different method or change that method to return something. # It required using initializers (instead of ordinary methods) and the base class to have two base initializers. def main is shared pass