Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4774

Problem with extended command expressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.8-rc-3
    • 1.8-rc-4
    • parser-antlr2
    • None

    Description

      Extended command expressions such as:

      a b c d
      

      Are equivalent to calling:

      a(b).c(d)
      

      But in the case we have something like:

      a b 1 2
      

      Which would be supposed to be equivalent to:

      a(b).1(2)
      

      But the AST represented by that call just represents the 1.call(2) part, and the a and b parts are totally absent.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: