shithub: mc

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