1 2 3 4 5 6 7
class Foo { construct base() {} } class Bar is Foo {} Bar.base() // expect runtime error: Bar metaclass does not implement 'base()'.