shithub: mc

ref: 5b10fd810aacd52389f3025bb085ef40b5b83037
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)
}