shithub: mc

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