shithub: mc

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