shithub: mc

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