shithub: mc

ref: b474f4b5e52fdabfec503d8666aefe35bdbdb7f1
dir: /test/generic.myr/

View raw version
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}