Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3059

declare: inconsistent behaviour w.r.t. field redefinition

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      import Person

      declare Person
      name : String = "Joe" @key # here only @key is recognized; the initialization is not done
      end

      declare Employee extends Person
      custno : int @key
      name : String = "Joe" @key # here @key and initialization are recognized
      end

      If it cannot be honoured, the initialization should cause an error.

            etirelli@redhat.com Edson Tirelli
            laune Wolfgang Laun (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Archived: