shithub: mc

ref: f6fadc8f08a0732f22ec6df34822f45e0f3a7f60
dir: /test/generic.myr/

View raw version
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}