shithub: mc

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