shithub: mc

ref: 23f5bba1d64f994a83f644b07a852b303d3e9109
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)
}