Aladdin - Scala Bugtracking
[#672] project: compiler priority: low category: bug
submitter assigned to status date submitted
Iulian Iulian fixed 2006-07-21 17:42:20.0
subject illegal mirror class for objects which contain case classes
code
object A {
  case class Sum(a: Int, b: Int);
}
what happened
mirror class A (generated for Java-compatibility) will contain a forwarding method to a method which does not ex\
ist. Output from javap:

public final class A extends java.lang.Object{
    public static final int $tag();
    public static final A$Sum Sum(int, int);
}


what expected public final class A extends java.lang.Object{ public static final int $tag(); }
[back to overview]
Changes of this bug report
Iulian  edited on  2006-07-24 18:10:46.0