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

4 lines
63 B
GDScript

func test():
1 if true else 2
print(1) if true else print(2)