GDScript: Fix function signature check for self calls
This commit is contained in:
parent
313e1f62bb
commit
a23fc45727
3 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
func test():
|
||||
set_name("TestNodeName")
|
||||
if get_name() == &"TestNodeName":
|
||||
print("Name is equal")
|
||||
else:
|
||||
print("Name is not equal")
|
||||
print(get_name() is StringName)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
GDTEST_OK
|
||||
Name is equal
|
||||
True
|
||||
Loading…
Add table
Add a link
Reference in a new issue