shithub: mc

ref: 11f0b71e1df81a2764d6dc0de9903f9a6d6ef7a6
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))
}