shithub: mc

ref: 87d75da15310e2c3aa65375a7b3c67f7fe238ec7
dir: /test/closure.myr/

View raw version
/* checks that functions with environment capture work. should exit with 42. */
const main = {
	var a = 42
	var f = {b
		-> a + b
	}
	-> f(13)
}