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:
parent
bdad9770d6
commit
98921d8fba
13 changed files with 13 additions and 65 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue