shithub: mc

ref: 7baf0c3ce683e750beb30b41cdd7fc2060efbe3f
dir: /test/tuple.myr/

View raw version
/* checks that we can create tuples and destructure them. exits with 42. */
const main = {
	var v
	var x
	var a
	var b

	x = 15
	v = (x, x + 12)
	(a, b) = v
	-> a + b
}