shithub: mc

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