shithub: mc

ref: 4db5274a2f6db10e31e11c503f36c85a98c65fbc
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)
	;;
}