You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/05/02 02:12:06 UTC

[jira] [Resolved] (GROOVY-5313) Wrong line/col info for SpreadMapExpressions

     [ https://issues.apache.org/jira/browse/GROOVY-5313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King resolved GROOVY-5313.
-------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 3.0)
                   2.6.0-alpha-1

> Wrong line/col info for SpreadMapExpressions
> --------------------------------------------
>
>                 Key: GROOVY-5313
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5313
>             Project: Groovy
>          Issue Type: Bug
>          Components: parser-antlr
>            Reporter: Guillaume Delcroix
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 2.6.0-alpha-1
>
>
> {code}
> def m = [a  :1  , b: 2 ]
> def map = [abc: 1, bcd: 2, *:m , cde: 3]
> {code}
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)