shithub: mc

ref: 2f5f1d3d30406b78123e934998a681d90ced60a0
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)
}