class A cue init .init(0) cue init(x as int) base.init def main pass class B inherits A var _foo as int cue init _foo = 1 # .warning. should be a call to another base.init # .error. can only be invoked cue init(x as int) _foo = 1 # .warning. should be a call to another base.init(1) # .error. can only be invoked cue init(x as int, y as int) _foo = x # .warning. should be a call to another .init # .error. can only be invoked cue init(x as int, y as int, z as int) _foo = x # .warning. should be a call to another .init(1) # .error. can only be invoked