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:
George Marques
2023-02-21 14:37:08 -03:00
parent 7e79aead99
commit 1731010774
3 changed files with 13 additions and 0 deletions

View File

@@ -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