shithub: mc

ref: 6586d3b6c2dad1ed0e1d3c798a42660f4c17d456
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)
}