shithub: mc

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