[ 
https://issues.apache.org/jira/browse/GROOVY-8426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149127#comment-18149127
 ] 

Daniel Sun commented on GROOVY-8426:
------------------------------------

Fixed on master; added a regression test in 
651e257228957cda82246dd433bb900cf0968fb7 
(https://github.com/apache/groovy/commit/651e257228957cda82246dd433bb900cf0968fb7).

> Incorrect line and column numbers are assigned to BlockStatements generated 
> out of method definitions
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-8426
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8426
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.0-beta-2, 2.4.13, 2.6.0-alpha-2
>            Reporter: Marcin Erdmann
>            Assignee: Paul King
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 7.0.0-alpha-1
>
>
> Line and column numbers assigned to BlockStatements generated out of method 
> definitions in {{AntlrParserPlugin#methodDef(AST)}} are incorrect. The ones 
> used are for the first statement inside of the block and not for the whole 
> block.
> Note that this seems to be fixed on master (in parrot?) but not in any 
> pre-3.0 versions which are still maintained.
> A PR to follow.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to