Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Misc Compiler
    • Labels:
      None

      Description

      object Go {
        def main(args : Array[String]) : Unit = {
          var hash : Long = 0
          val bytes = Array(1.toByte, 2.toByte, 3.toByte)
          hash += bytes(0)
          Console.println(hash)
        }
      }
      

      On execute:

      Exception in thread "main" java.lang.VerifyError: (class: test/Go$$, method: main signature: ([Ljava/lang/String;)V) Expecting to find long on stack
      	at test.Go.main(Go.scala)
      

        Issue Links

          Activity

          Hide
          Martin Odersky added a comment -

          Milestone 2.6.1 deleted

          Show
          Martin Odersky added a comment - Milestone 2.6.1 deleted

            People

            • Assignee:
              Iulian Dragos
              Reporter:
              mcdirmid
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development