shithub: mc

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