shithub: mc

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