You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/01/11 06:08:00 UTC
[jira] [Updated] (GROOVY-8954) VerifyError due to incorrect
bytecode produced when a trait super property call also comes from an
interface
[ https://issues.apache.org/jira/browse/GROOVY-8954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-8954:
------------------------------
Affects Version/s: 2.5.5
> 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
> Priority: Major
>
> {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)