shithub: mc

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