shithub: mc

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