shithub: mc

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