shithub: mc

ref: 797b4ce60e118ccc6b0b38b2d46b6c3acbe50778
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")
	-> id(42)
}