Return the integer instance associated with val.

Property definitions

nitc $ NaiveInterpreter :: int_instance
	# Return the integer instance associated with `val`.
	fun int_instance(val: Int): Instance
	do
		var t = mainmodule.int_type
		var instance = new PrimitiveInstance[Int](t, val)
		init_instance_primitive(instance)
		return instance
	end
src/interpreter/naive_interpreter.nit:216,2--223,4