shithub: mc

ref: 945c62edc1fc6dd17e1883dab8b7bc11d16276ba
dir: /test/constslice.myr/

View raw version
use std

const sl = array[1:3]
const array = [1,2,3,4,5]

const main = {
	/* expected output 23 */
	for x in sl
		std.put("%i", x)
	;;
	std.put("\n")
}