shithub: mc

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