Skip to content

Convert DataItem to an Expression in ClassCondition #2005

@delevoye

Description

@delevoye

The field DataItem of ClassCondition is currently a StorageArea but it would mean that it should be compared in CheckEquivalence(), which is not the spirit of this method as it compares the operator of the expression.
A solution is to have DataItem as a ConditionalOperand, which is used to hold operands of ConditionalExpression (the parent class of ClassCondition).

As a result, we can have Exp0 "equivalent" to Exp1. But still have a mean to differentiate them

* Exp0
Var-txt2 IS NUMERIC
* Exp1
Var-txt IS NUMERIC

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions