shithub: mc

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