shithub: mc

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