shithub: mc

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