class X def main is shared x = X() y = X() if x inherits y # .error. Cannot test "inherits" against pass if x implements y # .error. Cannot test "implements" against pass