summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/package-object-res.scala
blob: f1f714dd1f6165cef0c45c01c9bc62cf4e850690 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** This package has A and B.
  */
package test {
  trait A { def hi = "hello" }
  trait B { def bye = "bye!" }
}

/** This package object extends A and B.
  */
package object test extends A with B {
  override def hi = "good morning!"
  override def bye = "good bye!"
  protected def thank = "thank you!"
}