shithub: mc

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