shithub: mc

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