shithub: mc

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