bijington/expressive

null used in comparison is inconsistent with .NET

Closed this issue · 0 comments

Describe the bug
null used in comparison is inconsistent with .NET

To Reproduce
Steps to reproduce the behavior:

  1. Use a comparison expression e.g. var expression = new Expressive.Expression("null > 100");

Expected behavior
A result of false is expected here just like .NET e.g. var result = null > 100; (always evaluates to false).

Platform (please complete the following information):

  • OS: Windows
  • OS Version: 10
  • Version 1.4.2