shithub: mc

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