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

Property reactivity does not work with positional/unification constraints

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 5.5.1.Final, 6.0.0.Final
    • 5.5.0.Final, 6.0.0.CR2
    • None
    • None

    Description

      Positional and/or unification constraints are interpreted as either bindings
      or constraints, depending on the whether the variable is already bound or not. The user is expected not to have to care about the difference.

      ...
      Person( $name; $age := age )
      ...

      If the pattern type is @propertyReactive, however, the actual decision
      between binding and constraint WILL make a difference, possibly forcing
      the user to use @watch()

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: