Debian Codegraph @

modules/gdscript/tests/scripts/runtime/features/property_with_operator_assignment.gd

raw
1 #GDTEST_OK
2 var prop: int = 0:
3 get:
4 return prop
5 set(value):
6 prop = value % 7
7
8 func test():
9 for i in 7:
10 prop += 1
11 print(prop)