groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (GROOVY-8761) Exception in phase 'instruction selection'
Date Tue, 21 Aug 2018 10:37:00 GMT

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

Paul King edited comment on GROOVY-8761 at 8/21/18 10:36 AM:
-------------------------------------------------------------

Yep, it should always be putNodeMetaData not setNodeMetaData if the code path can be visited
more than once. In an earlier change all my test cases only ever visited once but as per GROOVY-8753
and your example, that is not the case. I'll do a 2.5.3 release not too far down the track.


was (Author: paulk):
Yep, it should always be putNodeMetaData not setNodeMetaData if the code path can be visited
twice. In an earlier change all my test cases only ever visited once but as per GROOVY-8753
and your example, that is not the case. I'll do a 2.5.3 release not too far down the track.

> Exception in phase 'instruction selection'
> ------------------------------------------
>
>                 Key: GROOVY-8761
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8761
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>            Reporter: paolo di tommaso
>            Priority: Major
>
> Upgrading to groovy 2.5.2 the compiler returns the following error message. 
>  
> {code:java}
> BUG! exception in phase 'instruction selection' in source unit '/Users/pditommaso/projects/nextflow/src/main/groovy/nextflow/extension/TapOp.groovy'
Tried to overwrite existing meta data org.codehaus.groovy.ast.expr.PropertyExpression@d9f41[object:
org.codehaus.groovy.ast.expr.VariableExpression@d9f41[variable: this] property: ConstantExpression[outputs]].
> {code}
>  
> The class under compilation can be found at [this link|https://github.com/nextflow-io/nextflow/blob/daded334b2478596d9821fb9049f91e05fc22699/src/main/groovy/nextflow/extension/TapOp.groovy#L36-L117].
the compilation is fine up to groovy 2.5.1
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message