GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1140

Eclipse crashes and fails to start after launching script with multiple assignment

    Details

    • Number of attachments :
      1

      Description

      After executing the following script:

      def (x, y) = [1,2]
      

      eclipse crashes and fails to load. I had to remove the script file in order to restart.

      See attached log for exception details

        Activity

        Hide
        Andrew Eisenberg added a comment - - edited

        Not good. I wasn't aware that the syntax was even legal.

        Show
        Andrew Eisenberg added a comment - - edited Not good. I wasn't aware that the syntax was even legal.
        Hide
        Andrew Eisenberg added a comment -

        Easy fix. Now, multi-variable declarations will be displayed as a concatenation of all of the variable names (with commas).

        Committed the fix.

        Show
        Andrew Eisenberg added a comment - Easy fix. Now, multi-variable declarations will be displayed as a concatenation of all of the variable names (with commas). Committed the fix.
        Hide
        Andrew Eisenberg added a comment -

        Unfortunately, the source locations of TupleExpressions are incorrect (Groovy compiler issue), so clicking on the declaration will highlight the opening paren only.

        Show
        Andrew Eisenberg added a comment - Unfortunately, the source locations of TupleExpressions are incorrect (Groovy compiler issue), so clicking on the declaration will highlight the opening paren only.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: