Passing self-reference to varargs super constructor causes VerifyError #6928
Welcome to Scala version 2.10.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0).
scala> abstract class A( val someAs: A* )
scala> object B extends A(B)
When I pass in a Set rather than a varargs list, I get a reasonable error:
scala> abstract class A( val someAs: Set[A] )
scala> object B extends A(Set(B))
The text was updated successfully, but these errors were encountered: