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

Types declared in a foreign package are processed one at a time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 6.1.0.CR1
    • 5.5.0.Final, 5.6.0.Final, 6.0.1.Final
    • None
    • None

    Description

      The following snippet has two issues

      package a;
      declare b.X  field : b.Y end
      declare b.Y end
      

      While processing package a, the packageBuilder will infer the existence of package b and create the appropriate typeDeclarations.
      However, a partial, independent package b is created for X and Y:

      • it is inefficient
      • internal dependencies cannot be resolved : b.X does not (yet) see b.Y

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: