Aladdin - Scala Bugtracking
[#971] project: compiler priority: low category: bug
submitter assigned to status date submitted
Sean Martin fixed 2007-02-28 12:48:46.0
subject private objects broken in member classes
code
package test;
object Test {
  private object foo;
  def main(args : Array[String]) : Unit = new Case;
  class Case {
    Console.println(foo);   
  }
}
what happened
Exception in thread "main" java.lang.NoClassDefFoundError: test/Test$test$Test$$foo$
	at test.Test$Case.(Test.scala:6)
	at test.Test$.main(Test.scala:4)
	at test.Test.main(Test.scala)
what expected
[back to overview]
Changes of this bug report
Sean  edited on  2007-02-28 13:52:59.0
Probably a duplicate of #949
Martin  edited on  2007-03-05 22:27:56.0