1
0
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:
Adam Scott
2023-01-26 17:15:51 -05:00
committed by Rémi Verschelde
parent 3f02cf7ced
commit 0fef203b1f
13 changed files with 65 additions and 13 deletions

View File

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

View File

@@ -0,0 +1 @@
GDTEST_OK