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

9 lines
130 B
GDScript

func test():
# `and` should be used instead.
if true && true:
pass
# `or` should be used instead.
if false || true:
pass