shithub: mc

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