shithub: mc

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