shithub: mc

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