blob: 7270cf169defcfec8fe2728e20acdb063f7fd94e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
}
|