shithub: mc

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