GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1154

Sort should support type inferencing on its arguments

    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

      The following expression does not infer the type of a and b to be integer:

      [1, 2].sort { a, b -> a.intValue() <=> b.intValue() }
      

        Activity

        Hide
        Andrew Eisenberg added a comment -

        Fixed.

        Show
        Andrew Eisenberg added a comment - Fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: