shithub: mc

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