shithub: mc

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