Revert "Remove script class checks when getting function signature"
This reverts commit 0fef203b1f.
This introduced some other issues, as discussed in #72144.
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
# https://github.com/godotengine/godot/issues/71994
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
||||
class A extends RefCounted:
|
||||
pass
|
||||
|
||||
class B extends A:
|
||||
# Parsing `duplicate()` here would throw this error:
|
||||
# Parse Error: The function signature doesn't match the parent. Parent signature is "duplicate(bool = default) -> Resource".
|
||||
func duplicate():
|
||||
pass
|
||||
@ -1 +0,0 @@
|
||||
GDTEST_OK
|
||||
Reference in New Issue
Block a user