Aladdin - Scala Bugtracking
[#601] project: compiler priority: low category: bug
submitter assigned to status date submitted
Nikolay Martin fixed 2006-05-18 16:51:49.0
subject [contrib #143] Private case object mangling broken
code
object Test
{
        private case object FooA

        def main(argv : Array[String]) : Unit = {
                Console.println(FooA)
        }
}
what happened
At runtime:

Exception in thread "main" java.lang.NoClassDefFoundError: Test$Test$$FooA$
        at Test$.main(test.scala:6)
        at Test.main(test.scala)
what expected Prints "FooA"
[back to overview]
Changes of this bug report
Nikolay  edited on  2006-05-18 17:13:10.0
Nikolay  edited on  2006-05-18 17:36:40.0
Martin  edited on  2006-05-18 19:26:27.0
Could not reproduce with the latest nsc
Nikolay  edited on  2006-05-19 11:14:00.0
I just tried it with the latest in the repository (rev 7453) and it exibits the bug as described. Maybe Martin has uncommitted changes.
Martin  edited on  2006-05-19 15:23:20.0
Should be fixed now.
Martin  edited on  2006-05-19 15:24:10.0