shithub: mc

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