Aladdin - Scala Bugtracking
[#98] project: compiler priority: high category: bug
submitter assigned to status date submitted
Matthias Michel fixed 2003-09-02 15:24:13.0
subject Inner objects broken
code
object Test {
  object MyCase;
  def main(args: Array[String]) = {
    System.out.println(MyCase);
  }
}
what happened
Compiles fine, but yields the following runtime error:
Exception in thread "main" java.lang.NoSuchMethodError: Test$MyCase$: method ()V not found
        at Test$MyCase$.(S.scala)
        at Test$.MyCase(S.scala:2)
        at Test$.main(S.scala:4)
        at Test.main(S.scala)
what expected Compiler, runtime positive.
[back to overview]
Changes of this bug report
Burak  edited on  2003-09-23 18:30:01.0
Michel  edited on  2003-09-29 16:25:06.0