shithub: mc

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