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:06:26 UTC

[jira] [Resolved] (GROOVY-5309) Wrong line/col info for binary expressions

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

Daniel Sun resolved GROOVY-5309.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 4.0)
                   3.0

Fixed in the parrot branch

> Wrong line/col info for binary expressions
> ------------------------------------------
>
>                 Key: GROOVY-5309
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5309
>             Project: Groovy
>          Issue Type: Bug
>          Components: parser-antlr
>            Reporter: Guillaume Delcroix
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 3.0
>
>
> {code}
> assert annotationsOfIdField[0]    instanceof Id
> {code}
> The binary expression between the assert and instanceof: the end of the line / col info is right before instance of, instead of being after the last closing square bracket



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)