You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #99150 from dalexeev/gds-fix-callable-call-errror-text
GDScript: Fix `Callable` call error text
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#debug-only
|
||||
func test():
|
||||
print(load.bind([]).call())
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_RUNTIME_ERROR
|
||||
>> SCRIPT ERROR at runtime/errors/callable_call_invalid_arg_type.gd:3 on test(): Invalid type in function '@GDScript::load (Callable)'. Cannot convert argument 1 from Array to String.
|
||||
@@ -1,6 +1,6 @@
|
||||
GDTEST_OK
|
||||
@GlobalScope::print (Callable)
|
||||
@GDScript::len (Callable)
|
||||
@GlobalScope::print
|
||||
@GDScript::len
|
||||
1 2 3
|
||||
1
|
||||
3
|
||||
|
||||
Reference in New Issue
Block a user