shithub: mc

ref: 03ef9a246d5f6f8013c19285224323e64206c415
dir: /test/tupleaccess.myr/

View raw version
use std

const foo = {
	-> (1, 2, (3, 4))
}

const main = {
	match foo()
	| x:
		x.0 = 0
		(x.2).1 = 5
		std.put("a: {}, b: {}, c: {}\n", x.0, x.2.1, foo().1)
	;;
}