shithub: mc

ref: 3c7cf598f83d27ac3b98e0061075052f9f9baaf1
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))
}