shithub: mc

ref: 3c4b4fecaf3841b492c75b6dacbc7b68c6aa1703
dir: /test/genericcall.myr/

View raw version
/* checks that generics can call non-generics. exits with 42. */
const f = {
	-> 42
}

generic id = {a:@a
	-> f()
}

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