You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the expression parsing stars this becomes into
Property = parts[0].Trim(); //"nu_field"
Value = _GetValue(parts[1]); //"= 0"
because the operator match was like
new EqualityOperator("==", (a, b) => a == b),
new EqualityOperator("!=", (a, b) => a != b),
new EqualityOperator(">", (a, b) => a > b),
new EqualityOperator("<", (a, b) => a < b),
new EqualityOperator(">=", (a, b) => a >= b),
new EqualityOperator("<=", (a, b) => a <= b)
so in the foreach statment the first match was on ">" instand of ">="
the workaround is change de order of the operators initialization.
new EqualityOperator("==", (a, b) => a == b),
new EqualityOperator("!=", (a, b) => a != b),
new EqualityOperator(">=", (a, b) => a >= b),
new EqualityOperator("<=", (a, b) => a <= b),
new EqualityOperator(">", (a, b) => a > b),
new EqualityOperator("<", (a, b) => a < b)
The text was updated successfully, but these errors were encountered:
Using a expression like nu_field >= 0,
When the expression parsing stars this becomes into
Property = parts[0].Trim(); //"nu_field"
Value = _GetValue(parts[1]); //"= 0"
because the operator match was like
new EqualityOperator("==", (a, b) => a == b),
new EqualityOperator("!=", (a, b) => a != b),
new EqualityOperator(">", (a, b) => a > b),
new EqualityOperator("<", (a, b) => a < b),
new EqualityOperator(">=", (a, b) => a >= b),
new EqualityOperator("<=", (a, b) => a <= b)
so in the foreach statment the first match was on ">" instand of ">="
the workaround is change de order of the operators initialization.
new EqualityOperator("==", (a, b) => a == b),
new EqualityOperator("!=", (a, b) => a != b),
new EqualityOperator(">=", (a, b) => a >= b),
new EqualityOperator("<=", (a, b) => a <= b),
new EqualityOperator(">", (a, b) => a > b),
new EqualityOperator("<", (a, b) => a < b)
The text was updated successfully, but these errors were encountered: