shithub: mc

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