shithub: mc

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