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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0.Final, 5.6.0.Final, 6.0.1.Final
    • Fix Version/s: 6.1.0.CR1
    • Component/s: None
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mark.proctor Mark Proctor
                Reporter:
                dsotty Davide Sottara
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: