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

Contradiction: had an empty possible set indicating an uninitialized location

    Details

      Description

      When compiling scala-io compiler crashes with:

      [info] java.lang.AssertionError: assertion failed: Contradiction: had an empty possible set indicating an uninitialized location
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer$Possible.<init>(ConstantOptimization.scala:166)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer.interpretLast(ConstantOptimization.scala:500)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer.interpretBlock(ConstantOptimization.scala:552)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer.interpretMethod(ConstantOptimization.scala:610)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer.optimizeMethod(ConstantOptimization.scala:65)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizer.optimizeClass(ConstantOptimization.scala:57)
      [info] 	at scala.tools.nsc.backend.opt.ConstantOptimization$ConstantOptimizationPhase.apply(ConstantOptimization.scala:49)
      [info] 	at scala.tools.nsc.backend.icode.ICodes$ICodePhase$$anonfun$apply$2.apply(ICodes.scala:123)
      [info] 	at scala.tools.nsc.backend.icode.ICodes$ICodePhase$$anonfun$apply$2.apply(ICodes.scala:123)
      

      It can be reproduced with dbuild using this branch: https://github.com/gkossakowski/community-builds/tree/play

        Attachments

          Activity

            People

            • Assignee:
              grek Grzegorz Kossakowski
              Reporter:
              grek Grzegorz Kossakowski
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: