shithub: mc

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