shithub: mc

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