Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-814

Unable to redeclare classes with more specific, overriding accessors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3.0.Beta2
    • 6.3.0.Beta1
    • core engine
    • None

      "Declares" do not support the following use case:

      declare A 
        fld : Object
      end
      
      declare B extends A
        fld : String   // more specific type
      end
      

              mfusco@redhat.com Mario Fusco
              dsotty Davide Sottara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: