shithub: mc

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