Create a gist now

Instantly share code, notes, and snippets.

scala> object Outer {
|
| object Inner {
| val B = "B"
| }
| import Inner._
| class Inner {
| def b = B
| }
| }
scala> Outer.Inner.B
res4: java.lang.String = B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment