shithub: mc

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