shithub: mc

ref: 137d0b96baa72f12a83e60f6b507f81a9a3bee4c
dir: /test/generic.myr/

View raw version
use std
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}