[jboss-jira] [JBoss JIRA] Created: (JBRULES-2221) duplicate function in different .drl files of same package silently overridden

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Thu Jul 30 12:34:29 EDT 2009


duplicate function in different .drl files of same package silently overridden
------------------------------------------------------------------------------

                 Key: JBRULES-2221
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2221
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.0.1.FINAL
            Reporter: Wolfgang Laun
            Assignee: Mark Proctor


Given package p and .drl files a.drl and b.drl, both in this package.

If a.drl contains a function foo and b.drl a function foo, then b's function will silently supercede a's function, or vice versa. There is no indication of an error in the return value of kBuilder.getErrors().




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list