shithub: mc

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