shithub: mc

ref: e625989736fb218b9e5b3792b130d84db4ae4f8d
dir: /test/generic.myr/

View raw version
use std
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}