shithub: mc

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