shithub: mc

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