shithub: mc

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