shithub: mc

ref: 64141a6e1d3bd0c0d648563e9333d3395fd7df86
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))
}