shithub: mc

ref: 4ef66b11ded8bc99387219a81328d33c775ce7a9
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)
}