shithub: mc

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