nitc :: NaiveInterpreter :: write_variable
# Assign the value of the variable in the current frame fun write_variable(v: Variable, value: Instance) do var f = frames.first.as(InterpreterFrame) f.map[v] = value end
# Assign the value of the `Variable` in an environment redef fun write_variable(v: Variable, value: Instance) do frame.variables[v.position] = value end