shithub: mc

ref: 8bd18e2d1caef67781ae69d761bdfca8d2bcf41d
dir: /test/genericcall.myr/

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

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

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