shithub: mc

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