shithub: mc

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