# Subclass overrides a method that is defined in a subsequent partial. class A is partial pass class A1 inherits A def foo(i as int) is override pass class P def main print 'done.' class A is partial def foo(i as int) pass