shithub: mc

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