Merge pull request #60732 from CalebJohn/matching_signature_regression_test
This commit is contained in:
commit
505e15c523
|
@ -0,0 +1,14 @@
|
|||
func test():
|
||||
var instance := Parent.new()
|
||||
instance.my_function({"a": 1})
|
||||
instance = Child.new()
|
||||
instance.my_function({"a": 1})
|
||||
print("No failure")
|
||||
|
||||
class Parent:
|
||||
func my_function(_par1: Dictionary = {}) -> void:
|
||||
pass
|
||||
|
||||
class Child extends Parent:
|
||||
func my_function(_par1: Dictionary = {}) -> void:
|
||||
pass
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
No failure
|
Loading…
Reference in New Issue