shithub: mc

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