Expression like "F(1) == null", where F(1) is custom function, throws exception:
System.NullReferenceException : Object reference not set to an instance of an object. at System.Object.GetType() at NCalc.Domain.EvaluationVisitor.CompareUsingMostPreciseType(Object a, Object b) at NCalc.Domain.EvaluationVisitor.Visit(BinaryExpression expression) at NCalc.Expression.Evaluate()
F(1) can return null or not null objects.
This is an issue with all known Ncalc clones, even with the original, except Ncalc-Edge 1.4.1.000. We are forced to use that version and I'd like to use your much faster one.
Expression like "F(1) == null", where F(1) is custom function, throws exception:
System.NullReferenceException : Object reference not set to an instance of an object. at System.Object.GetType() at NCalc.Domain.EvaluationVisitor.CompareUsingMostPreciseType(Object a, Object b) at NCalc.Domain.EvaluationVisitor.Visit(BinaryExpression expression) at NCalc.Expression.Evaluate()
F(1) can return null or not null objects.
This is an issue with all known Ncalc clones, even with the original, except Ncalc-Edge 1.4.1.000. We are forced to use that version and I'd like to use your much faster one.