blob: f5a9a3c4da5a48772d0cb31fc167c91bbec63712 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
object Test {
def main(args: Array[String]) {
new foo.Bar
println("You buttered your bread. Now sleep in it!")
}
}
package foo {
trait Foo { def foo() {} }
class Bar extends Baz with Foo
abstract class Baz
object Baz extends Foo
}
|