shithub: mc

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