shithub: mc

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