shithub: mc

ref: 81084d9664f01ba943a958ba89c85a8dbe783d09
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)
}