shithub: mc

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