enum E { E0 = 0, E3 = 3 }
func test():
var total := 0
for value in range(E.E0, E.E3):
var inferable := value
total += inferable
Utils.check(total == 0 + 1 + 2)
print('ok')
Welcome to pear-git
You're signed in. Pick a display name and optionally a profile picture so other peers can recognize you. You can change this anytime in /profile.