GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1145

eachWithIndex could support type inferencing on index argument

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.1Release
    • Fix Version/s: 2.5.2.Release
    • Component/s: Inferencing Engine
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In the following expression, index could be inferred to be an int:

      [1, 2].eachWithIndex { it, i -> it.intValue() + i.intValue() }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andrew Eisenberg
            Reporter:
            Bob Tiernay
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: