shithub: mc

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