mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
In 0.13.x, zinc would discover only top-level objects and classes containing tests to the test framework. In 1.x, however, zinc can discover also nested objects and classes; that causes the "name" of a ClassLike to no longer be usable for reflection. This change filters out nested objects/classes from the list, restoring compatibility with 0.13. A zinc extension of ClassLike will probably be introduced in 1.1 or 1.2, in order to provide the test framework with enough information to deal with nested classes. This patch unblocks https://github.com/sbt/sbt-standalone-build/issues/15