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

Use mvel-compiler ConstraintCompiler to compile constraints

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • Undefined
    • NEW
    • NEW

    Description

      See https://issues.redhat.com/browse/RHDM-1706

      special conversion rules for BigDecimal are already implemented in the consequence for MVEL compiler, we can leverage those also in the constraint to make sure that the MVEL evaluation is the same in both consequence and constraint.

      We should be able to remove also the

      private SpecialComparisonResult handleSpecialComparisonCases(BinaryExpr.Operator operator, TypedExpression left, TypedExpression right)

      method

      Attachments

        Issue Links

          Activity

            People

              lmolteni@redhat.com Luca Molteni
              lmolteni@redhat.com Luca Molteni
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: