shithub: mc

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