shithub: mc

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