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

2018-03-06 Thread Paul King (JIRA)

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

Paul King closed GROOVY-5313.
-

> 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
(v7.6.3#76005)


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

2017-05-01 Thread Paul King (JIRA)

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

Paul King closed GROOVY-5313.
-

> 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: 3.0
>
>
> {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)