shithub: mc

ref: 5fc8fe7bec594a98c7a2b9fbdfc5f7fb4f11c7c9
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")
	std.exit(id(42))
}