shithub: mc

ref: 10c5c3d7f4a76b67a72278b989d4b0cb52e145b3
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))
}