shithub: mc

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