shithub: mc

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