// replace this.state = [] with new State()

// error has occured
def func():
    for v in [0, 1]:
        return