shithub: mc

ref: 11ff08b7c5d3d682628b27e0a37b9d7e4deb28b7
dir: /test/generic.myr/

View raw version
use std
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	std.exit(id(42))
}