shithub: mc

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