shithub: mc

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