shithub: mc

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