shithub: mc

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