Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8954

VerifyError due to incorrect bytecode produced when a trait super property call also comes from an interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5
    • 2.5.6, 3.0.0-beta-1
    • None
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m