shithub: mc

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