shithub: mc

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