[#1004] | project: compiler | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Stephane | Iulian | fixed | 2007-03-14 13:50:40.0 | |
subject | Assertion error in ICode | |||
code |
object test extends Application { Array(0).slice(0, 1) eq Array(0) } |
|||
what happened | [locker] java.lang.AssertionError: assertion failed: REFERENCE to Array is not allowed, should be ARRAY[\ ..] instead [locker] at scala.Predef$.assert(Predef.scala:89) [locker] at scala.tools.nsc.backend.icode.TypeKinds$REFERENCE. |
|||
what expected | no error (problem related to bug #996 ?!) | |||
[back to overview] |
Stephane edited on 2007-03-14 14:55:36.0 |
Workaround:object test extends Application { new runtime.BoxedIntArray(Array(0).slice(0, 1)).value eq Array(0) } |
Stephane edited on 2007-03-14 14:57:52.0 |
Martin edited on 2007-03-14 15:28:53.0 |
This is certainly different from 996. I reassigned to Iulian. |
Iulian edited on 2007-03-14 16:43:57.0 |
Stephane edited on 2007-03-14 17:18:01.0 |