shithub: mc

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