Assign the value of the variable in the current frame

Property definitions

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
src/interpreter/naive_interpreter.nit:461,2--466,4

nitc :: variables_numbering $ VirtualMachine :: write_variable
	# Assign the value of the `Variable` in an environment
	redef fun write_variable(v: Variable, value: Instance)
	do
		frame.variables[v.position] = value
	end
src/vm/variables_numbering.nit:62,2--66,4