godot-module-template/engine/modules/gdscript/tests/scripts/parser/warnings/standalone_ternary.gd

4 lines
63 B
GDScript
Raw Permalink Normal View History

2025-01-17 15:36:38 +00:00
func test():
1 if true else 2
print(1) if true else print(2)