shithub: mc

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