shithub: mc

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