shithub: mc

ref: 5927f8f8d3b4ab40d2aacfae4b3cbd593c5e7f01
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")
	std.exit(id(42))
}