shithub: mc

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