shithub: mc

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