shithub: mc

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