shithub: mc

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