shithub: mc

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