shithub: mc

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