shithub: mc

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