shithub: mc

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