shithub: mc

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