shithub: mc

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