Considering this typedef:
case class Outer(someVal: Int) {
case class Inner(someOtherVal: Int)
}
how do I construct an object of type Inner, (i.e. how do I write the valid scala syntax)?
I want the Inner to scoped to Outer to avoid name clashes with different instances of Outer in the same package.
val x = Outer(1); x.Inner(2)will work