mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user