shithub: mc

ref: 173bb6e6c75b1898527b187c030093bc8832d4fc
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)
}