Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
at ch.epfl.lamp.fjbg.JExtendedCode.emitT2T(JExtendedCode.java:426)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genPrimitive(GenJVM.scala:1156)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$45.apply(GenJVM.scala:758)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$45.apply(GenJVM.scala:663)
at scala.Iterator$class.foreach(Iterator.scala:364)
at scala.runtime.BoxedArray$$anon$0.foreach(BoxedArray.scala:46)
at scala.Iterable$class.foreach(Iterable.scala:226)
at scala.runtime.BoxedArray.foreach(BoxedArray.scala:25)
at scala.tools.nsc.backend.icode.BasicBlocks$BasicBlock.traverse(BasicBlocks.scala:102)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genBlock(GenJVM.scala:663)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genBlocks(GenJVM.scala:584)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genCode(GenJVM.scala:573)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genMethod(GenJVM.scala:458)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$7.apply(GenJVM.scala:198)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$7.apply(GenJVM.scala:198)
at scala.List.foreach(List.scala:707)
at scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.genClass(GenJVM.scala:198)
at scala.tools.nsc.backend.jvm.GenJVM$JvmPhase$$anonfun$1.apply(GenJVM.scala:47)
at scala.tools.nsc.backend.jvm.GenJVM$JvmPhase$$anonfun$1.apply(GenJVM.scala:47)
at scala.Iterator$class.foreach(Iterator.scala:364)
at scala.collection.Map$$anon$5.foreach(Map.scala:123)
at scala.tools.nsc.backend.jvm.GenJVM$JvmPhase.run(GenJVM.scala:47)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:544)
at scala.tools.nsc.Global$Run.compile(Global.scala:623)
at scala.tools.nsc.Main$.process(Main.scala:84)
at scala.tools.nsc.Main$.main(Main.scala:105)
at scala.tools.nsc.Main.main(Main.scala)
|