shithub: mc

ref: 08442dd9c3426e2dbe598ef1f6fb10f2f67638aa
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))
}