class A pass class B pass class X inherits A is partial pass class X inherits B is partial # .error. already pass class Test def main X()