shithub: mc

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