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

Wrong line/col info for SpreadMapExpressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0-alpha-1
    • parser-antlr2
    • 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

              daniel_sun Daniel Sun
              guillaume Guillaume Sauthier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: