Aladdin - Scala Bugtracking
[#265] project: compiler priority: high category: bug
submitter assigned to status date submitted
Stephane Martin not repro 2004-01-05 11:13:05.0
subject Another assertion error with case class instantiation
code
case class Foo: Object;

object bug2 {
  //new Foo; // is OK
  Foo
}
what happened
$ scalac -d ~/tmp/classes/ bug2.scala
Exception in thread "main" java.lang.AssertionError: class $class  class  -1
        at scalac.symtab.TypeSymbol.adjustType(Symbol.java:1633)
        [..]
what expected no runtime error ?!
[back to overview]
Changes of this bug report
Philippe  edited on  2004-01-05 11:22:59.0

Same problem as bug 264.

Martin  edited on  2004-01-05 13:03:25.0
I believe this was fixed by a change I made over the vacation.