shithub: mc

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