shithub: mc

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