shithub: mc

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