shithub: mc

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