shithub: mc

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