shithub: mc

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