shithub: mc

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