1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +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,6 @@
const TestClass = preload("gdscript_duplicate_class.notest.gd")
func test():
# TestClass.duplicate() fails
@warning_ignore("return_value_discarded")
(TestClass as GDScript).duplicate()