blob: 1d0b33c3e51b47f45444ebd822d5910ecfd5540a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package foo
package object bar {
class Bippy(x: Int) {
class Ding
object Ding
case class Dong(x: Float)
}
object Bippy {
class Dingus
object Dingus
case class Dongus(x: Float)
def apply(xs: Int*) = new Bippy(xs.sum)
def apply() = new Bippy(5)
}
}
|