shithub: mc

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