groovy
  1. groovy
  2. GROOVY-5313

Wrong line/col info for SpreadMapExpressions

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: parser-antlr
    • Labels:
      None
    • Number of attachments :
      0

      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 Laforge made changes -
          Field Original Value New Value
          Link This issue is duplicated by GROOVY-3437 [ GROOVY-3437 ]
          Guillaume Laforge made changes -
          Component/s parser-antlr [ 11322 ]
          blackdrag blackdrag made changes -
          Fix Version/s 4.0 [ 18928 ]

            People

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

              Dates

              • Created:
                Updated: