Aladdin - Scala Bugtracking
[#341] project: compiler priority: high category: bug
submitter assigned to status date submitted
Stephane Michel fixed 2004-06-04 23:05:36.0
subject ClassCastException in GenJVM
code
class Foo {
   val a = Array(false);
   def get = { true && a(0) }
}
what happened
Exception in thread "main" java.lang.ClassCastException
    at scalac.backend.jvm.GenJVM.extractPrimitiveArgs(GenJVM.java:1222)
    at scalac.backend.jvm.GenJVM.genCond(GenJVM.java:680)
    [..]
what expected no error at compilation
[back to overview]
Changes of this bug report
Michel  edited on  2004-06-15 16:40:54.0