shithub: mc

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