shithub: mc

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