shithub: mc

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