Skip to content

Commit

Permalink
more #314
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed Jan 10, 2022
1 parent ce04784 commit 6aeb07d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FastExpressionCompiler.LightExpression/Expression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1517,12 +1517,14 @@ public static BinaryExpression MakeBinary(ExpressionType binaryType, Expression
case ExpressionType.MultiplyChecked:
case ExpressionType.Divide:
case ExpressionType.Modulo:
return GetArithmeticBinary(binaryType, left, right, method);

case ExpressionType.Power:
case ExpressionType.And:
case ExpressionType.AndAlso:
case ExpressionType.Or:
case ExpressionType.OrElse:
return GetLeftTypedBinary(binaryType, left, right, method); // todo: @wip incomplete
return GetLeftTypedBinary(binaryType, left, right, method); // todo: @wip incomplete, see GetArithmeticBinary

case ExpressionType.LessThan: return LessThan(left, right, liftToNull, method);
case ExpressionType.LessThanOrEqual: return LessThanOrEqual(left, right, liftToNull, method);
Expand Down

0 comments on commit 6aeb07d

Please sign in to comment.