GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1159

Result of match operator (=~, ==~) expressions should support type inferencing

    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 should support type inferencing:

      ("" =~ /pattern/).hasGroup()
      ("" ==~ /pattern/).booleanValue()
      

        Activity

        Hide
        Bob Tiernay added a comment -

        Please disregard the second example as this works

        Show
        Bob Tiernay added a comment - Please disregard the second example as this works
        Hide
        Andrew Eisenberg added a comment -

        Actually, the second expression works by accident. The type of the expression is String (should be boolean). String has a booleanValue method as well.

        Show
        Andrew Eisenberg added a comment - Actually, the second expression works by accident. The type of the expression is String (should be boolean). String has a booleanValue method as well.
        Hide
        Andrew Eisenberg added a comment -

        Oops. I was wrong. The second example was indeed working properly (booleanValue is not a method on String).

        Anyway, the first one is fixed now as well.

        Show
        Andrew Eisenberg added a comment - Oops. I was wrong. The second example was indeed working properly ( booleanValue is not a method on String). Anyway, the first one is fixed now as well.
        Hide
        Bob Tiernay added a comment -

        I notice this still isn't working in 2.5.2.xx-20110729-1800-e37. Should it?

        Show
        Bob Tiernay added a comment - I notice this still isn't working in 2.5.2.xx-20110729-1800-e37. Should it?
        Hide
        Andrew Eisenberg added a comment -

        A build hasn't gone through in the past few days. It is working with the code as it is in version control, but there is not yet a snapshot available.

        Show
        Andrew Eisenberg added a comment - A build hasn't gone through in the past few days. It is working with the code as it is in version control, but there is not yet a snapshot available.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: