shithub: mc

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