shithub: mc

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