shithub: mc

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