virtualx-engine/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd
George Marques f95967c299
GDScript: Allow strings as multiline comments
Bring back the behavior in 3.x that was left out by oversight.
2023-02-09 10:16:00 -03:00

8 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)