shithub: mc

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