shithub: mc

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