shithub: mc

ref: 89e3217a0a604f94c68b9993a72166f6aede0b47
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)
}