shithub: mc

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