shithub: mc

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