shithub: mc

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