// The return type must be a subtype of the method's return type

class Main {
	Main main;
	Object object;

	void main() {}

	Object method() {
		return null;
		return object;
		return main;
	}

	Main otherMethod() {
		return null;
		return main;
		return object; // error
	}
}