shithub: mc

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