XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.4
    • 2.5.0
    • Compiler
    • None

    • Using the latest groovy-eclipse version, 2.1.0

    Description

      This bug has been introduced somewhere between 1.7.0 (the old groovy eclipse plugin, where it worked) & 1.7.4

      I do not have a test case, but the issue seems to be with method chaining.

      proxyObj.getX().getY()

      What happens is getY() is run on the proxyObj. Presumably it method chaining should work only when the return type is void, and in this case it is confused because the return type is not as obvious.

      Attachments

        1. regression1.7.1-1.7.4-2.zip
          2 kB
          Mike Goodwin
        2. t.groovy
          2 kB
          Jochen Theodorou
        3. regression1.7.1-1.7.4.zip
          2 kB
          Mike Goodwin

        Activity

          People

            Unassigned Unassigned
            mkpg2 Mike Goodwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: