shithub: mc

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