Aladdin - Scala Bugtracking
[#356] project: compiler priority: low category: bug
submitter assigned to status date submitted
Matthias Martin fixed 2004-08-02 08:55:53.0
subject Instantiating scala.All
code
object T with Application {
  Console.println(new scala.All().equals(new scala.All()));
}
what happened
Compiles, but when executed at runtime yields the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: scala/All
        at T$.(T.scala:2)
        at T$.(T.scala)
        at T.main(T.scala:45)
what expected It should be a compile-time error to instantiate scala.All.
[back to overview]
Changes of this bug report
Martin  edited on  2004-11-19 19:43:27.0