shithub: mc

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