shithub: mc

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