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 02:45:26 UTC
[jira] [Resolved] (GROOVY-4095) Labeled statements have wrong
source position
[ https://issues.apache.org/jira/browse/GROOVY-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-4095.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 4.0)
3.0
Fixed in the parrot branch
> Labeled statements have wrong source position
> ---------------------------------------------
>
> Key: GROOVY-4095
> URL: https://issues.apache.org/jira/browse/GROOVY-4095
> Project: Groovy
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.7.1
> Reporter: Peter Niederwieser
> Assignee: Daniel Sun
> Fix For: 3.0
>
>
> Example:
> {code}
> mylabel:
> foo()
> {code}
> Source position of this statement is [1,8]-[1,9], which is the position of the ':' token. Same for all other labeled statements I've checked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)