shithub: mc

ref: 4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3
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)
}