shithub: mc

ref: 71af8b2acb1e7eefa2101f0074e4fe0a631a6220
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))
}