shithub: mc

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