shithub: mc

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