shithub: mc

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