trait A extends scala.Object {} module test { def x: A = x; }