shithub: mc

ref: 009cb9bf1139d5ddda4e464734f53eeb4ec10d74
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))
}