shithub: mc

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

View raw version
use std

trait fooable @a =
;;

impl fooable int =
;;

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

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