shithub: mc

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