virtualx-engine/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd

10 lines
200 B
GDScript3
Raw Normal View History

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