shithub: mc

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