godot/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd

9 lines
165 B
GDScript

func test():
# The following statements should all be reported as standalone expressions:
1234
0.0 + 0.0
Color(1, 1, 1)
Vector3.ZERO
[true, false]
float(125)