shithub: mc

ref: 68b18a7fba8313ad5b1d8b4c6be61e3b8b126304
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))
}