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

poor diagnostic error for using newly-generified Java class got even worse

    Details

      Description

      2.11.0-M1, amongst an projectile error:

      Exception in thread "main" java.lang.Error: something is wrong (wrong class file?): class JList with type parameters [E] gets applied to arguments [], phase = typer
      

      2.11.0-M2:

      something is wrong: cannot make sense of type application
        E
        javax.swing.JList
      

      2.11.0-M3

      Exception in thread "main" java.lang.IndexOutOfBoundsException: 0
      	at scala.collection.LinearSeqOptimized$class.apply(LinearSeqOptimized.scala:51)
      	at scala.collection.immutable.List.apply(List.scala:85)
      	at scala.reflect.internal.tpe.TypeMaps$AsSeenFromMap.correspondingTypeArgument(TypeMaps.scala:552)
      

      Minimization pending.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                retronym Jason Zaugg
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: