You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Remove script class checks when getting function signature
This commit is contained in:
committed by
Rémi Verschelde
parent
3f02cf7ced
commit
0fef203b1f
@@ -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
|
||||
Reference in New Issue
Block a user