[jboss-jira] [JBoss JIRA] (DROOLS-432) Types declared in a foreign package are processed one at a time

Davide Sottara (JIRA) issues at jboss.org
Mon Feb 17 10:51:47 EST 2014


Davide Sottara created DROOLS-432:
-------------------------------------

             Summary: Types declared in a foreign package are processed one at a time
                 Key: DROOLS-432
                 URL: https://issues.jboss.org/browse/DROOLS-432
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.1.Final, 5.6.0.Final, 5.5.0.Final
            Reporter: Davide Sottara
            Assignee: Mark Proctor
             Fix For: 6.1.0.Beta1


The following snippet has two issues

{code}
package a;
declare b.X  field : b.Y end
declare b.Y end
{code}

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list