Is this a compiler error?
class A(val pf: PartialFunction[Int, Int]) class B extends A({ case 5 => 3 case _ => 2 }) println(new B) java.lang.VerifyError: (class: Main$$anon$1$B, method: <init> signature: (LMain$$anon$1;)V) Expecting to find object/array on stack
I am using Scala 2.10 RC3 and Java 7u9
edit: forgot the "new B" at the end of my code. Without this, an error does not occur
source share