shithub: mc

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