shithub: mc

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