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

Wrong line/col info for SpreadMapExpressions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-alpha-1
    • Component/s: parser-antlr2
    • Labels:
      None

      Description

      def m = [a  :1  , b: 2 ]
      def map = [abc: 1, bcd: 2, *:m , cde: 3]
      

      The SpreadMapExpression highlights just the star *, and the m variable is highlighted till the comma, instead of just the m character (ie. including further whitespace).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel_sun Daniel Sun
                Reporter:
                Guillaume Guillaume Delcroix
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: