shithub: mc

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