shithub: mc

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