shithub: mc

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