Groovy
  1. Groovy
  2. GROOVY-5313

Wrong line/col info for SpreadMapExpressions

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: parser-antlr
    • 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).

        Issue Links

          Activity

          Guillaume Delcroix created issue -
          Guillaume Delcroix made changes -
          Field Original Value New Value
          Link This issue is duplicated by GROOVY-3437 [ GROOVY-3437 ]
          Guillaume Delcroix made changes -
          Component/s parser-antlr [ 11322 ]
          Jochen Theodorou made changes -
          Fix Version/s 4.0 [ 18928 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
          Mark Thomas made changes -
          Workflow jira [ 12734236 ] Default workflow, editable Closed status [ 12746034 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
          Mark Thomas made changes -
          Workflow jira [ 12971743 ] Default workflow, editable Closed status [ 12979506 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Guillaume Delcroix
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development