shithub: mc

ref: 4db5274a2f6db10e31e11c503f36c85a98c65fbc
dir: /test/emptytrait.myr/

View raw version
use std

trait fooable @a =
;;

impl fooable int =
;;

generic foo = {x : @a::fooable @a
	-> x
}

const main = {
	std.exit(foo(123))
}