shithub: mc

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