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,6 @@
const TestClass = preload("gdscript_duplicate_class.notest.gd")
func test():
# TestClass.duplicate() fails
@warning_ignore("return_value_discarded")
(TestClass as GDScript).duplicate()

View File

@@ -0,0 +1 @@
GDTEST_OK