shithub: mc

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