class Foo: pass class Bar extends Foo.Baz: pass func test(): print('not ok')