shithub: mc

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