return env when subscript used for assignment