shithub: mc

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