shithub: mc

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