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:05 UTC

[jira] [Resolved] (GROOVY-5312) Wrong line/col info for MapEntryExpressions

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

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

> Wrong line/col info for MapEntryExpressions
> -------------------------------------------
>
>                 Key: GROOVY-5312
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5312
>             Project: Groovy
>          Issue Type: Bug
>          Components: parser-antlr
>            Reporter: Guillaume Delcroix
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 2.6.0-alpha-1
>
>
> Whenever there's a map entry, a named parameter, etc, a MapEntryExpression is used, but the line / col of MapEntryExpression is just surrounding the column, instead of the whole key + colon + value.
> Another problem with MEE is that the value goes up to the next comma or closing square bracket (including all potential whitespace), instead of just stopping at the end of the expression or constant.



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