shithub: mc

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