shithub: mc

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