Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-8900

Assertion failure in isAnonymousOrLocalClass

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Scala 2.11.3
    • Fix Version/s: Scala 2.11.4
    • Component/s: Compiler Backend
    • Labels:
    • Environment:

      Mac OS X 10.9.5, 1.7.0_67

      Description

      When using the 2.11.3 version that is currently on Maven Central or the most recent SNAPSHOT, I get an assertion failure when compiling the latest development version of our Kiama library. The build log is in the attached file, but the stack trace starts:

      at scala.tools.nsc.backend.jvm.BCodeAsmCommon.isAnonymousOrLocalClass(BCodeAsmCommon.scala:35)
      at scala.tools.nsc.backend.jvm.GenASM$JBuilder.scala$tools$nsc$backend$jvm$GenASM$JBuilder$$outerName$1(GenASM.scala:686)
      at scala.tools.nsc.backend.jvm.GenASM$JBuilder.addInnerClasses(GenASM.scala:722)
      at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1341)
      at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.emitFor$1(GenASM.scala:197)
      at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:203)
      at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1338)
      at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1325)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rytz Lukas Rytz
                Reporter:
                asloane Tony Sloane
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: