shithub: mc

ref: 8bfbbffd15927f7cc92ec2cb4a1ea968a9f82cb3
dir: /test/generic.myr/

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

const main = {
	id("adsf")
	-> id(42)
}