shithub: mc

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