shithub: mc

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