shithub: mc

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