shithub: mc

ref: cc61b84219f29c4bf874e579986ef77bcc6a0ad3
dir: /test/emptytrait.myr/

View raw version
use std

trait fooable @a =
;;
impl fooable int

generic foo = {x : @a::fooable
	-> x
}

const main = {
	std.exit(foo(123))
}