shithub: mc

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