godot/modules/gdscript/tests/scripts/runtime/errors/utility_functions.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
287 B
GDScript3
Raw Permalink Normal View History

func subtest_pass_wrong_arg_builtin():
var x = Color()
print(floor(x)) # Built-in utility function.
func subtest_pass_wrong_arg_gdscript():
var x = Color()
print(len(x)) # GDScript utility function.
func test():
subtest_pass_wrong_arg_builtin()
subtest_pass_wrong_arg_gdscript()