shithub: mc

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