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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.6, 3.0.0-beta-1
    • Component/s: None
    • Labels:
      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

              • Assignee:
                paulk Paul King
                Reporter:
                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