shithub: mc

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