GDScript: Fix override signature check of script inheritance
Avoid treating the super class as a meta type for signature check, since it is looking at the instance level for that.
This commit is contained in:
parent
7e79aead99
commit
1731010774
3 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
func test():
|
||||
print("ok")
|
||||
|
||||
# https://github.com/godotengine/godot/issues/71994
|
||||
class A:
|
||||
extends RefCounted
|
||||
class B:
|
||||
extends A
|
||||
func duplicate():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
ok
|
||||
Loading…
Add table
Add a link
Reference in a new issue