shithub: mc

ref: a13e33b5a6319fb5cc68983b731e6cff821bb458
dir: /test/generic.myr/

View raw version
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}