shithub: mc

ref: 0dd5d1f71505ce3d8a51e8244cf3128c54eb8293
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))
}