shithub: mc

ref: 0a2f731ecf9f8ba57817cb33d127fd92d530a915
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))
}