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

Use mvel-compiler ConstraintCompiler to compile constraints

XMLWordPrintable

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

      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

              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

                Created:
                Updated: