blob: 7270cf169defcfec8fe2728e20acdb063f7fd94e (
plain) (
tree)
|
|
object Test {
def main(args: Array[String]): Unit = Foo.foo()
}
trait CommonTrait {
def foo(): String = null
}
class Foo
object Foo {
def goo() = new Foo() with CommonTrait
def foo(): String = null
}
|