Details

      Description

      As gittered https://gitter.im/scala/scala?at=57e986c2ea1b6b1a6c6d5d1f

      scala> "abcde".indexOf('c', -1)
      res0: Int = 2
       
      scala> "abcde".indexOf('c', -2)
      res1: Int = 2
       
      scala> "abcde".toVector.indexOf('c', -1)
      res2: Int = 1
       
      scala> "abcde".toVector.indexOf('c', -2)
      res3: Int = 0
      

        Attachments

          Activity

            People

            • Assignee:
              apm A. P. Marki
              Reporter:
              apm A. P. Marki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: