shithub: mc

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