Scala: Chained Package Clauses

Way back in Scala 2.7 there was an issue related to chained/nested package clauses, and that issue was resolved in Scala 2.8. Because I don’t use this feature much, and because I don’t have much of a memory, I run into this issue every year or two. I found some discussion of it on this SO page, and then I found a complete discussion of it in the scala-lang.org page I link to here.

In short, if you ever see multiple Scala package statements like the following two and wondered why they are that way, then see the page I linked to:

package org.myproject
package tests
...