shithub: mc

ref: 86aa50f243677df226f5ee02d6b15f85c634a6f1
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))
}