Allow method binds to take Object subclasses as arguments
As done in upstream Godot via GH-57205. Add a test that ensures it works also for "gdextended" objects.
This commit is contained in:
@@ -33,6 +33,7 @@ func _ready():
|
||||
var ret_ref = $Example.return_extended_ref()
|
||||
prints(" returned ref", ret_ref.get_instance_id(), ", id:", ret_ref.get_id())
|
||||
prints(" returned ", $Example.get_v4())
|
||||
prints(" test node argument", $Example.test_node_argument($Example))
|
||||
|
||||
prints("VarArg method calls")
|
||||
var ref = ExampleRef.new()
|
||||
|
||||
Reference in New Issue
Block a user