shithub: mc

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