shithub: mc

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