Remove script class checks when getting function signature
This commit is contained in:
parent
3f02cf7ced
commit
0fef203b1f
13 changed files with 65 additions and 13 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# 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
|
||||
|
|
@ -0,0 +1 @@
|
|||
GDTEST_OK
|
||||
Loading…
Add table
Add a link
Reference in a new issue