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] [Resolved] (GROOVY-8954) VerifyError due to incorrect bytecode produced when a trait super property call also comes from an interface
Date Fri, 11 Jan 2019 22:49:00 GMT

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

Paul King resolved GROOVY-8954.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 3.0.0-alpha-5
                   2.5.6

Proposed PR merged.

> VerifyError due to incorrect bytecode produced when a trait super property call also
comes from an interface
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-8954
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8954
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.5
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.5.6, 3.0.0-alpha-5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code}
> interface DomainProp {
>     boolean isNullable()
> }
> abstract class OrderedProp implements DomainProp { }
> trait Nullable {
>     boolean nullable = true
> }
> @groovy.transform.CompileStatic
> abstract class CustomProp extends OrderedProp implements Nullable { }
> println new CustomProp() {}
> {code}



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

Mime
View raw message