shithub: mc

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