shithub: mc

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