I was wondering if something like this would be possible, basically
overriding a value of a nested object. Is there a reason why this is
not allowed?
object Test1 extends Application {
trait Trait1 {
object Obj2 extends Trait2
trait Trait2 {
val y : Int
}
}
It is not. Also see http://www.scala-lang.org/node/4935
--
Johannes