godot/modules/gdscript/tests/scripts/runtime/features/array_implicit_conversions.gd

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

7 lines
156 B
GDScript3
Raw Permalink Normal View History

func test():
# GH-114299
var a1: Array[PackedInt32Array] = [[1]]
var a2 = [[2]] as Array[PackedInt32Array]
print(var_to_str(a1))
print(var_to_str(a2))