shithub: mc

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