XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • Build
    • None

    Description

      This issue aims to upgrade to Scala 2.13.7.

      Scala 2.13.6 released(https://github.com/scala/scala/releases/tag/v2.13.6). However, we skip 2.13.6 because there is a breaking behavior change at 2.13.6 which is different from both Scala 2.13.5 and Scala 3.

      • https://github.com/scala/bug/issues/12403
        scala3-3.0.0:$ bin/scala
        scala> Array.empty[Double].intersect(Array(0.0))
        val res0: Array[Double] = Array()
        
        scala-2.13.6:$ bin/scala
        Welcome to Scala 2.13.6 (OpenJDK 64-Bit Server VM, Java 1.8.0_292).
        Type in expressions for evaluation. Or try :help.
        
        scala> Array.empty[Double].intersect(Array(0.0))
        java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [D
          ... 32 elided
        

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: