mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03: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,6 @@
|
||||
const TestClass = preload("gdscript_duplicate_class.notest.gd")
|
||||
|
||||
func test():
|
||||
# TestClass.duplicate() fails
|
||||
@warning_ignore("return_value_discarded")
|
||||
(TestClass as GDScript).duplicate()
|
||||
@@ -0,0 +1 @@
|
||||
GDTEST_OK
|
||||
@@ -0,0 +1 @@
|
||||
extends Node
|
||||
Reference in New Issue
Block a user