shithub: mc

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