shithub: mc

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