mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Revert "Remove script class checks when getting function signature"
This reverts commit 0fef203b1f.
This introduced some other issues, as discussed in #72144.
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
const TestClass = preload("gdscript_duplicate_class.notest.gd")
|
||||
|
||||
func test():
|
||||
# TestClass.duplicate() fails
|
||||
@warning_ignore("return_value_discarded")
|
||||
(TestClass as GDScript).duplicate()
|
||||
@@ -1 +0,0 @@
|
||||
GDTEST_OK
|
||||
@@ -1 +0,0 @@
|
||||
extends Node
|
||||
Reference in New Issue
Block a user