shithub: mc

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