You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2017/01/20 01:32:26 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 ]
Daniel Sun resolved GROOVY-5313.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 4.0)
3.0
Fixed in the parrot branch
> 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.4#6332)