godot/modules/gdscript/tests/scripts/analyzer/features/function_param_type_contravariance.gd

class A:
	func int_to_variant(_p: int): pass
	func node_to_variant(_p: Node): pass
	func node_2d_to_node(_p: Node2D): pass

	func variant_to_untyped(_p: Variant): pass
	func int_to_untyped(_p: int): pass
	func node_to_untyped(_p: Node): pass

class B extends A:
	func int_to_variant(_p: Variant): pass
	func node_to_variant(_p: Variant): pass
	func node_2d_to_node(_p: Node): pass

	func variant_to_untyped(_p): pass
	func int_to_untyped(_p): pass
	func node_to_untyped(_p): pass

func test():
	pass