shithub: mc

ref: 731dd8851a19c11f91d01bdc8c469c77d653a4ea
dir: /test/emptytrait.myr/

View raw version
use std

trait fooable @a =
;;

impl fooable int =
;;

generic foo = {x : @a::fooable @a
	-> x
}

const main = {
	std.exit(foo(123))
}