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] [Created] (GROOVY-8954) VerifyError due to incorrect bytecode produced when a trait super property call also comes from an interface

Paul King created GROOVY-8954:
---------------------------------

             Summary: 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
            Reporter: Paul King


{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)