shithub: mc

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