shithub: mc

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